Routing table

Gary Harthill gary.harthill at mirago.com
Wed Nov 3 12:12:11 UTC 2004



Change the /etc/sysconfig/network-scripts/ifcfg-<nic dev> file for each nic device you wish to access the internet.

Just add or modify GATEWAY=192.168.2.1 to these files

Is this box acting as a router then?


-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com] On Behalf Of Hans Müller
Sent: 03 November 2004 07:17
To: For users of Fedora Core releases
Subject: Re: Routing table

> Thanks.
> Mike Burger schrieb:
> 
>> On Tue, 2 Nov 2004, [ISO-8859-15] Hans Müller wrote:
>>
>>
>>> Paul Howarth schrieb:
>>>
>>>> On Tue, 2004-11-02 at 07:52, Hans Müller wrote:
>>>>
>>>>
>>>>> Hello,
>>>>> every time I boot FC2 the routing table has very wrong entrys.
>>>>> Where can I set the entrys, so that I dont have to change this 
>>>>> every boot.
>>>>
>>>>
>>>>
>>>> What is the routing table you get after a boot, and what do you want it
>>>> to look like? And what are the IP addresses of your interfaces?
>>>>
>>>> Paul.
>>>
>>>
>>> I have 4 network card in the sytemem. After restart the default route 
>>> is wrong. So that i dont get a connection to the internet. So evry 
>>> reboot I must correct the table by hand. And that is not very funny.
>>> the card's have the IP's 192.168.0.1 , 1.1,2.1 and 3.1. and to the 
>>> internet it mut router over the 192.168.2.1 network. but after 
>>> restart default is 192.168.3.1.
>>
>>
>>
>> Just edit the /etc/sysconfig/network file, and modify the "GATEWAY=" 
>> line to point at the correct router.
> 
> 
So today i have restart the system. But the entry has no effect. The 
routing table are incorrect again.




More information about the fedora-list mailing list