You are not logged in.

#1 2009-02-07 22:50:21

Vladman
Member
Registered: 2009-01-28
Posts: 118

[solved] --- help setup static ip

Hi, can someone help me setup static ip instead of using dhcp.
dhcp works fine, but I'm having a hard time with static ips.

I have 3 computers on the network, do all of them need to be converted to static?

Is there something in the router that I need to change?
Here is the bit from my rc.conf

eth0="eth0 192.168.1.80 netmask 255.255.255.0 broadcast 192.168.1.255"
#eth0="dhcp"
#wlan0="dhcp"
INTERFACES=(lo !eth0 !wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)

thank you

Last edited by Vladman (2009-02-07 23:22:35)

Offline

#2 2009-02-07 22:55:05

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] --- help setup static ip

you can start removing ! from the eth0 interface and from gateway. ! means that you disable it

Last edited by wonder (2009-02-07 22:55:49)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-02-07 22:57:27

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: [solved] --- help setup static ip

And do this if your gateway does not work :
ROUTES=(gateway)

Offline

#4 2009-02-07 23:22:03

Vladman
Member
Registered: 2009-01-28
Posts: 118

Re: [solved] --- help setup static ip

Thanks guys, working now!

Offline

Board footer

Powered by FluxBB