how to change default gateway in Pro 4.1

Ask questions regarding Gentoox, Gentoo and Linux in general in these forums and we'll do our best to help you!
Post Reply
PR3DAT0R6sic6
Newbie
Posts: 9
Joined: Sun Aug 21, 2005 2:56 am

how to change default gateway in Pro 4.1

Post by PR3DAT0R6sic6 » Fri Mar 02, 2007 7:12 pm

I go in to edit /etc/conf.d/net and its totally different than in the tutorial and i cant seem to figure out how to change the default gateway.

User avatar
Timmo
Novice
Posts: 44
Joined: Sun Nov 09, 2003 9:35 am
Location: Midlands UK
Contact:

Post by Timmo » Sat Mar 03, 2007 12:58 pm

Here is a copy of my /etc/conf.d/net file..... gateway set to 192.168.1.1

Code: Select all

iface_eth0="192.168.1.14 netmask 255.255.255.0 broadcast 192.168.1.255"
gateway="eth0/192.168.1.1"
fallback_eth0="( "192.168.1.13 netmask 255.255.255.0 broadcast 192.168.1.255" )"
fallback_route_eth0="( "default via 192.168.1.1" )"
I wrote this!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests