Hi, I hope someone can shed light to my problem with my recently installed freebsd 13.2. I put up two NIC's on this machine and had this configuration on my rc.conf
the NIC mce0 is used for internet connection and I have no problem with connecting to the internet with it.
and then when I configure bxe2 which will be use to connect to another machine via cross over cable connection and restart the network via service netif restart
mce0 is no longer working, but the connection between two machine is there.
I tried to search on how to do it, but couldn't find any guide on how to. but I'm guessing that this has to do with routes, but I am not sure how to do it.
Code:
hostname="pithoi1"
ifconfig_mce0="inet 192.168.1.100netmask 255.255.255.0"
defaultrouter="192.168.1.1"
ifconfig_bxe2="inet 172.16.100.17 netmask 255.255.255.0"
gateway_enable="YES"
sshd_enable="YES"
ntpdate_enable="YES"
ntpd_enable="YES"
trim_enable="YES"
the NIC mce0 is used for internet connection and I have no problem with connecting to the internet with it.
and then when I configure bxe2 which will be use to connect to another machine via cross over cable connection and restart the network via service netif restart
mce0 is no longer working, but the connection between two machine is there.
I tried to search on how to do it, but couldn't find any guide on how to. but I'm guessing that this has to do with routes, but I am not sure how to do it.