my server:
ip:177.32.244.204
netmask:255.255.255.0
gateway:177.32.244.254
my idc give me another ip:
ip:177.32.125.32/255.255.255.255
broadcast:177.32.125.63
gateway:177.32.244.254
i had create a vm-host on my server by wmware8.0.
i will using 177.32.125.32 on my vm-host.
i install ubuntu to vm-host.
i set :
ip-address:177.32.125.32
net-mask:255.255.255.255
broadcast:177.32.125.63
i add 2 static route:
route add 177.32.244.254 dev eth0(name of net-adaper)
route add default gw 177.32.244.254
the network is ok.i can visit or ping the vm-host by ip 177.32.125.32.
i install ros 5.7 on the vm.
i set :
ip-address:177.32.125.32
net-mask:255.255.255.255
broadcast:177.32.125.63
i add 2 static route:
1,add dst=177.32.244.254 gateway=ether1
2,add gateway=177.32.244.254
i execute print command,the screen shown:
0 S dst-address=0.0.0.0/0 gateway=177.32.244.254 gateway-status=177.32.244.254
unreachable check-gateway=arp distance=1 scope=30 target-scope=30
1 ADC dst-address=177.32.125.32/32 pref-src=177.32.125.32 gateway=ether1 gateway-status=ether1 reachable distance=0 scope=10
2 A C dst-address=177.32.244.254/32 gateway=ether1 gateway-status=ether1 reachable check-gateway=arp distance=1 scope=30 target-scope=10
the gateway unreachable,why?
i modify the check-gateway=arp.
it shown unreachable too.
i can’t ping any ip except 177.32.244.254 on vm-host.
i can’t ping vm-host(177.31.125.32) on anywhere.
where is wrong?
…
First thing that I didn’t like was the net-mask of 255.255.255.255 on an Eth interface?
Second thing I don’t find optimal is first gateway rule
Try disabling the first rule that you show here. If still not working try changing the netmask to 255.255.255.0 or something that can actually talk to that gateway IP.
P.S. the real question here is - the MT config differences with Linux should be explained by MT staff.