mount NFS not working when both ethernet interfaces are up
This is an observation..But could not get a reason for that..
We have a server and a target board.Most of the times I am able to mount the server through network file system.But sometimes it is observed that mounting hangs. When this happens,it was noted that both ethernet interfaces are up.Now when I make one down,mount works properly.The interface which I made down was having dummy(default) IP addresse,gateway etc. any idea why this happens.? |
posible with subnetting issue , while both interface up
could you execute this command Code:
/sbin/ifconfig | cut -d " " -f1,12,16 | grep -A 1 eth | tr -d - | tr -s "\n" |sed -e :a -e N -e 's/\n/ /' Code:
/sbin/route -n |
Following are the outputs..Just to add,this problem is not consistent.
/sbin/ifconfig | cut -d " " -f1,12,16 | grep -A 1 eth | tr -d - | tr -s "\n" |sed -e :a -e N -e 's/\n/ /' eth0 addr:192.168.0.11 Mask:255.255.255.0 eth1 addr:192.168.35.242 Mask:255.255.248.0 route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.32.0 0.0.0.0 255.255.248.0 U 0 0 0 eth1 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 0.0.0.0 192.168.32.47 0.0.0.0 UG 0 0 0 eth1 |
do you have this 192.168.0.11 in your /etc/hosts ?
is that dummy 192* very important to you . otherwise try change to eg 10.*range because you are not suppost to have same range like ip address although there are diffrent subnet in the same system root just give a try |
I will surely give a try..But I couldnt understand this statement "you are not suppose to have same range like ip address although there are diffrent subnet in the same system root"..May I have an explanation and may be reason for that...?
|
ok since you have used range 192.168* for eth0 regardless what the netmask
so best way is not to use 192.168* in the eth1 i mentioned same system root because if mention the same machine there virtualisation come into question |
All times are GMT -5. The time now is 01:00 PM. |