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

Re: router using FC4



On Tue, 2006-05-23 at 20:36 +0100, Paul Howarth wrote:
> On Wed, 2006-05-24 at 02:23 +0800, LC wrote:
> > >> I am trying to make a router using a FC4. I have 2 NICs in the machine.
> > >> Install FC4 using minimium. Eth0 is set to DHCP, connected to an ethernet
> > >> modem and ETH1 has IP 192.168.1.1, netmask 255.255.255.0 connected to a
> > >> switch. Installation was a success and rebooted the box. Clients machines
> > >> are unable to ping 192.168.1.1. But when i unplug the modem and reboot,
> > >> clients are ablt to ping 192.168.1.1. I realised if the box booted up 
> > >> both
> > >> ETH0 and ETH1, clients are able to ping 192.168.1.1. But if i ifdown ETH0
> > >> and ifup ETH0, clients are able to get reply from 192.168.1.1.
> > >>
> > >> Can someone tell me what should I do?
> > >
> > > Perhaps this is the initscripts bug that causes eth0/eth1 to get
> > > assigned to the two cards randomly?
> > >
> > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187550
> > >
> > > Try the initscripts package from updates-testing
> > 
> > 
> > Hi Paul,
> > 
> > Will it help if i use FC5?
> 
> Ah, didn't notice you were on FC4. This is an FC5-specific bug, so your
> problem is something else. I agree with the other posters that suggested
> that eth0 and eth1 should be on different networks through.

For the system to be a router, the interfaces MUST be on different
networks--that's what defines a "router" in the first place (it routes
packets between networks).

If the NICs are on the same network, you simply have a machine with two
different network addresses (which is better handled by one NIC with
aliases on it...eth0, eth0:0, eth0:1, etc.).

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   Whoever said "Money can't buy friends" obviously never brought   -
-                        donuts to the office.                       -
----------------------------------------------------------------------


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