Hi everybody,
I have a very strange problem ; if somebody could help me it would be very kind. I'll try to explain my problem.
I have 2 unix machines absolutely identical running solaris 9.
For network reasons I need to change the IP address of the 2 machines.
I proceed exactly the same on the 2 machines, that is :
update file /etc/inet/hosts
update file /etc/inet/netmasks
update file /etc/inet/defaultrouter
then reboot both machines
The machine 1 is OK : the new configuration is taken into account. Here is the result of some commands :
ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.67.172.130 netmask ffffffe0 broadcast 10.67.172.159
ether 0:14:4f:c4:5e:d2
netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.67.172.128 10.67.172.130 U 1 23 bge0
224.0.0.0 10.67.172.130 U 1 0 bge0
default 10.67.172.129 UG 1 79
127.0.0.1 127.0.0.1 UH 2 11 lo0
netstat -I bge0
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue
bge0 1500 okapi1 okapi1 19672 0 21477 0 0 0
The second machine does not take the configuration I gave it. The same commands give :
ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.67.172.131 netmask ff000000 broadcast 10.255.255.255
ether 0:14:4f:c4:34:c
netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.0.0.0 10.67.172.131 U 1 60 bge0
224.0.0.0 10.67.172.131 U 1 0 bge0
default 10.67.172.129 UG 1 19
127.0.0.1 127.0.0.1 UH 2 25 lo0
netstat -I bge0
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue
bge0 1500 arpanet okapi2 955 0 993 0 0 0
The result is that cannot connect via the network.
Note that if correct manually he configuration with the command ifconfig plumb netmask ... broadcast ....
it works again.
If someone could give me an idea ?
Excuse me for being so long in my explanation, but I never had such a problem !