View previous topic :: View next topic |
Author |
Message |
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Sun Jul 02, 2006 7:04 am Post subject: [SOLVED] Gentoo net init scripts with multiple ips |
|
|
A search didnt turn anything up.
I just got two new dedicated servers and Gentoo is currently running on them.
The problem is they are currently running off one ip when I have a block of 4 (usable) ips.
I did find this in /etc/conf.d/net but I have no idea how to configure it correctly. The example is for a lan.
Quote: | # If you need more than one address, you can use something like this
# NOTE: ifconfig creates an aliased device for each extra IPv4 address
# (eth0:1, eth0:2, etc)
# iproute2 does not do this
#config_eth0=(
# "192.168.0.2/24"
# "192.168.0.3/24"
# "192.168.0.4/24"
#) |
My netmask is 255.255.254.0 and I'm not exactly sure how the /24 bit works.
I want to get it right the first time because if I dont then that means no ssh and I would need to make a support ticket to get it fixed.
Last edited by cheater512 on Sun Jul 02, 2006 10:47 am; edited 1 time in total |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
cheater512 Tux's lil' helper
Joined: 03 Nov 2003 Posts: 145 Location: Australia
|
Posted: Sun Jul 02, 2006 10:46 am Post subject: |
|
|
Ah sweet. Why dont you change the example to something slightly more logical? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|