It should also be possible to contact Internet ping -c3 PING (206.12.19.7) 56(84) bytes of data.Ħ4 bytes from (206.12.19.7): icmp_seq=1 ttl=43 time=188 msĦ4 bytes from (206.12.19.7): icmp_seq=2 ttl=43 time=190 msĦ4 bytes from (206.12.19.7): icmp_seq=3 ttl=43 time=185 msģ packets transmitted, 3 received, 0% packet loss, time 2005ms Configuring Static IP Address on Debian Configuring Static IP Address on CentOS Creating Static Routes using ip. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 You may need to specify a source and destination since you are using the same interface for masquerading: iptables -t nat -A POSTROUTING -i eth0 -s 192.168.0.0/24 -d 192.168.1.0/24 -j MASQUERADE. RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:68 errors:0 dropped:0 overruns:0 carrier:0 This is how my routing table should be: Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 default 192.168.2.1 0.0.0.0 UG 0 0 0 eth1. I want two default gateways to achieve what is mentioned in the accepted answer to the question here. RX packets:32 errors:0 dropped:0 overruns:0 frame:0 If I restart networking daemon I get this error: eth1 is not up. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 The eth0 network interface configuration should now have the new ifconfigĮth0 Link encap:Ethernet HWaddr 08:00:27:84:4c:b2 The ifconfig command allows the user to view information about the configured network interfaces.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |