Re: Flushing the IP routing table

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

 



Hi.
I set a default route for the hole system in /etc/sysconfig/network with:
gateway=192.168.0.1 below the hostname line, then restarted the network 
service.

But even now when I try and telnet to freeshell.org on port 23 I get the 
message:
freeshell.org/telnet: Temporary failiar in name resolution. Why am I still 
getting this problem? I had it working last term, and I still can't get the 
192.168.0.0 and 169.254.0.0 lines out of the table, but there is a default 
line below it.

Cheers.

Chris Norman
<!-- chris.norman4@xxxxxxxxxxxx -->
Selling cheap but functional shell accounts.
----- Original Message ----- 
From: "Craig McLean" <craig@xxxxxxxxxxx>
To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
Sent: Thursday, January 12, 2006 7:38 AM
Subject: Re: Flushing the IP routing table


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Norman wrote:
[snip]
> I want one to let me out of the network, that can be added. I did it last
> time, but I've restarted since and it's deleted it, any ideas why?

Check out /usr/share/doc/initscripts-8.11.1/sysconfig.txt (or similar).
There's a load of info in there.

In short, static routes can be added in many ways.

For complex multi-route solutions, routes can be added by using the
/etc/sysconfig/network-scripts/route-<interfacename> file using:
ADDRESSn=<network address>
NETMASKn=<network mask>
GATEWAYn=<gateway IP address>

The "n" can be any integer number, but is expected to be monotonically
increasing and counting starts from 0.

If you only have one default route on the whole system, it can be
specified in /etc/sysconfig/network using:

GATEWAY=<IP Address>
GATEWAYDEV=<Interface> <--- Optional interface to use for route

Default routes per-interface can be specified in
/etc/sysconfig/network-scripts/ifcfg-<interfacename> with:

GATEWAY=<IP Address>

Hope this helps,
C.

- --
Craig McLean http://fukka.co.uk
craig@xxxxxxxxxxx Where the fun never starts
Powered by FreeBSD, and GIN!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDxnfaMDDagS2VwJ4RAsSqAJ4rHixcfz1XWjsy41D3Km24vBwA9QCgy0YW
FMj4vsM532W6l6WKxLeee5Y=
=JjpV
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list 


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

  Powered by Linux