route syntax
Alexander Dalloz
ad+lists at uni-x.org
Mon Jul 11 12:43:17 UTC 2005
Am Mo, den 11.07.2005 schrieb THUFIR HAWAT um 7:39:
> On 7/10/05, Alexander Dalloz <ad+lists at uni-x.org> wrote:
> ...
> > The ping target is in the same subnet?
> ...
>
> the setup is
>
> D-Link eth1 built-in eth0
> 192.168.0.2 ---| arrakis |--- 192.168.0.1
> |
> | HUB |
> |
> | CALADAN |--- 192.168.0.3
> Thufir
I suggest following:
eth0 on arrakis: IP 192.168.1.1, netmask 255.255.255.0
eth1 on arrakis: IP 192.168.0.2, netmask 255.255.255.0
eth device on caladan: IP 192.168.0.3, netmask 255.255.255.0
On "arrakis" (Fedora) set IP forwarding in /etc/sysctl.conf (sysctl -p
afterwards). Make sure that NO GATEWAY entry is set in
/etc/sysconfig/network-scripts/ifcfg-eth{0,1}, but a GATEWAY=192.168.0.2
in /etc/sysconfig/network. Hosts should then be able to see each other.
Alexander
--
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
Serendipity 14:38:02 up 15 days, 21:30, load average: 0.23, 0.19, 0.16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050711/9b8c9c04/attachment-0001.sig>
More information about the fedora-list
mailing list