Re: router using FC4

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

 



LC wrote:
> 
> ----- Original Message ----- From: "Tim" <ignored_mailbox@xxxxxxxxxxxx>
> To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
> Sent: Wednesday, May 24, 2006 12:25 AM
> Subject: Re: router using FC4
> 
> 
>> On Tue, 2006-05-23 at 23:59 +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.
>>
>> What's the other interface's address?  If they're both 192.168.1.x with
>> a 255.255.255.0 netmask you're going to strike problems, you've got two
>> subnets, they need to be addressed accordingly.
>>
>> e.g. eth0 192.168.0.1/255.255.255.0
>>     eth1 192.168.1.1/255.255.255.0 using 192.168.1.x (above) as its
>> gateway
>>     and clients should use the 192.168.1.1 as their gateway
> 
> The modem assigned eth0 to 192.168.1.2. If i manually change the IP of
> eth0, the modem refused to dial
You ether need to change the IP range of eth1 so it is not in the
same network as eth0. You will need set up NAT as well. It is
possible to use the same network for both interfaces, but it is not
worth the extra work. You would have to create a specific route to
the modem.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux