static IP, gateway and netmask setting
Hello, i intend to do a basic static network set up. My goal is to set up the following:
ip: * * * **** 10.0.0.1
netmask:* 255.255.255.0
gateway:*
10.0.0.2
guiding myself with the gentoo handbook i clumsily edited the /etc/conf.d/net file leaving it like this
config_eth0=( "10.0.0.1 netmask
255.255.255.0 brd 10.0.0.255" )
routes_eth0=( "default via 10.0.0.2" )
i have to admit i totally guessed the
10.0.0.255 value
should this work?
are all the values listed here correct and/or necessary?
thanks in advance people, as usual, your help is very appreciated
take care
Rafael
|