mardi 31 mars 2015

How to add a gateway to eh0?

eth0 eth1 are in the same IP segment. but only eth1 has gateway. so I think this is why I can't connect to the IP of eth0 with putty. I can connect to eth1 with putty.



[root@ip-172-26-26-60 ~]# netstat -nr

Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.26.26.0 0.0.0.0 255.255.255.192 U 0 0 0 eth0
172.26.26.0 0.0.0.0 255.255.255.192 U 0 0 0 eth1
0.0.0.0 172.26.26.1 0.0.0.0 UG 0 0 0 eth1




Aucun commentaire:

Enregistrer un commentaire