View previous topic :: View next topic |
Author |
Message |
silverio n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2005 Posts: 2 Location: Brazil
|
Posted: Fri Dec 30, 2005 12:02 am Post subject: interface alias - need help to configure |
|
|
hi, everyone. i have to keep different address in one interface and need help how to configure that. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
steveb Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1198140199438f3db8ee800.gif)
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Fri Dec 30, 2005 12:07 am Post subject: |
|
|
Please read the content of /etc/conf.d/net.example. This part is probably what you are looking for: Code: | # 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"
#)
# You can also use IPv6 addresses
#config_eth0=(
# "192.168.0.2/24"
# "4321:0:1:2:3:4:567:89ab"
# "4321:0:1:2:3:4:567:89ac"
#) |
cheers
SteveB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
silverio n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 29 Dec 2005 Posts: 2 Location: Brazil
|
Posted: Fri Dec 30, 2005 12:19 am Post subject: |
|
|
Thanks, very much. It helps a lot! Have a Happy New Year!
Silverio |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
steveb Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/1198140199438f3db8ee800.gif)
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Fri Dec 30, 2005 12:23 am Post subject: |
|
|
You're Welcome. I wish you too a Happy New Year.
cheers
SteveB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|