Hi all:
I have a very strange issue since a lot of time. I have two laptops with a similar configuration (most of it was copied from one to another). The problem is when I configure an static IP in the em0 interface of both laptops via /etc/rc.conf or manually in the console.
If the laptops are not connected one to another via em0, I need to type the command twice to be effective:
laptop a: ifconfig em0 inet 192.168.58.1/24
laptop b: ifconfig em0 inet 192.168.58.101/24
after configuring the em0 in both laptops I connect the cable between them and everything works
If I disconnect the cable the static IP configuration is lost
If I configure manually the static IPs with the cable connected I cannot get them to work.... it seems similar to when I disconnect the cable, the system detect the interface is down and remove the static configuration.
But I don't see any configuration in /etc/rc.conf that can lead to this behavior. The static IPs should remain configured always, despite of the interfaces are up or down...
What do you think I'm doing wrong? or some clue to find the anomalous configuration in my laptops?
Thanks in advance,
Jes
I have a very strange issue since a lot of time. I have two laptops with a similar configuration (most of it was copied from one to another). The problem is when I configure an static IP in the em0 interface of both laptops via /etc/rc.conf or manually in the console.
If the laptops are not connected one to another via em0, I need to type the command twice to be effective:
laptop a: ifconfig em0 inet 192.168.58.1/24
laptop b: ifconfig em0 inet 192.168.58.101/24
after configuring the em0 in both laptops I connect the cable between them and everything works
If I disconnect the cable the static IP configuration is lost
If I configure manually the static IPs with the cable connected I cannot get them to work.... it seems similar to when I disconnect the cable, the system detect the interface is down and remove the static configuration.
But I don't see any configuration in /etc/rc.conf that can lead to this behavior. The static IPs should remain configured always, despite of the interfaces are up or down...
What do you think I'm doing wrong? or some clue to find the anomalous configuration in my laptops?
Thanks in advance,
Jes