You are not logged in.

#1 2008-04-19 07:16:17

Shagbag
Member
Registered: 2006-10-25
Posts: 259

What happened to default gateway routes?

I installed Arch on a new computer today.
I used the arch-core-install-2008.04-rc-i686.iso image.
Everything seems to be working okay apart from the default routing table.
There is no default entry for 192.168.0.1.  Instead I have to add it with:

# route add default gw 192.168.0.1

I have to do this everytime I reboot.
If I try and set ROUTES=(gateway) in /etc/rc.conf I get some errors at boot.
What's the story?

Offline

#2 2008-04-19 08:36:53

hsjc
Member
Registered: 2008-04-18
Posts: 12

Re: What happened to default gateway routes?

Your gw is not taken care of by dhcp?

I commented out the route configuration in my rc.conf b/c it's all done thru dhcp.

Offline

#3 2008-04-19 09:21:06

ighea
Member
From: Finland
Registered: 2007-10-20
Posts: 118

Re: What happened to default gateway routes?

Shagbag wrote:

I installed Arch on a new computer today.
I used the arch-core-install-2008.04-rc-i686.iso image.
Everything seems to be working okay apart from the default routing table.
There is no default entry for 192.168.0.1.  Instead I have to add it with:

# route add default gw 192.168.0.1

I have to do this everytime I reboot.
If I try and set ROUTES=(gateway) in /etc/rc.conf I get some errors at boot.
What's the story?

You would still need the gateway to be defined in rc.conf.

gateway="default gw 192.168.0.1"
ROUTES=(gateway)

(╯°□°)╯~ ┻━┻

Offline

Board footer

Powered by FluxBB