Re: route syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/11/05, Jeff Vian <jvian10@xxxxxxxxxxx> wrote:
...
> You now show eth1 as IP 192.168.0.0 network and 192.168.1.0 network on
> eth0.  Thus the NICs are on different subnets and it works as designed.
...

ok, things are very exciting :)

I'm going with the diagram at
<http://www.tldp.org/HOWTO/Masquerading-Simple-HOWTO/intro.html>,
except that the external IP should be dynamic for my setup
because that's how the ISP has things arranged.

arrakis eth0	built-in	DHCP
arrakis eth1	D-Link		192.168.0.1
caladan eth	3-Com		192.168.0.2

so, right now I'm basically just reading up on this :)

[root@arrakis init.d]# ./network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down interface eth1:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Disabling IPv4 packet forwarding:                          [  OK  ]
Setting network parameters:                                [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:                                [  OK  ]
Bringing up interface eth1:                                [  OK  ]
[root@arrakis init.d]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
default         192.168.2.1     0.0.0.0         UG    0      0        0 eth0
[root@arrakis init.d]# ping 192.168.0.2
PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.
64 bytes from 192.168.0.2: icmp_seq=0 ttl=128 time=1.04 ms
64 bytes from 192.168.0.2: icmp_seq=1 ttl=128 time=0.476 ms
64 bytes from 192.168.0.2: icmp_seq=2 ttl=128 time=0.479 ms
64 bytes from 192.168.0.2: icmp_seq=3 ttl=128 time=0.477 ms
64 bytes from 192.168.0.2: icmp_seq=4 ttl=128 time=0.481 ms

--- 192.168.0.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.476/0.591/1.044/0.227 ms, pipe 2
[root@arrakis init.d]# ping www.google.com
PING www.l.google.com (66.102.7.104) 56(84) bytes of data.
64 bytes from 66.102.7.104: icmp_seq=0 ttl=244 time=60.2 ms
64 bytes from 66.102.7.104: icmp_seq=1 ttl=244 time=66.2 ms
64 bytes from 66.102.7.104: icmp_seq=2 ttl=244 time=56.5 ms
64 bytes from 66.102.7.104: icmp_seq=3 ttl=244 time=84.0 ms

--- www.l.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 56.573/66.759/84.015/10.538 ms, pipe 2
[root@arrakis init.d]#




thanks for the help,

Thufir


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux