You are not logged in.
hello,
I'm using interface aliases on eth0 to host different virtual hosts with SSL cetificates
my rc.conf config was like that :
eth0="eth0 IP1 netmask 255.255.255.0 broadcast IP1"
eth0_0="eth0:0 IP2 netmask 255.255.255.255 broadcast IP2"
INTERFACES=(eth0 eth0_0)
gateway="default gw IP1_GATEWAY"
ROUTES=(gateway)
but since the deprecation of net-tools and the new syntax for rc.conf I'm not sure how the aliases should be defined.
I read this page https://wiki.archlinux.org/index.php/Rc.conf but I'm not sure if I have to use Netcfg now or if I can use the Single interface way and if so what would be the syntax?
thanks for your help
Offline
bump
Offline
Same here.
Offline
from reading the wiki for rc.conf it looks like you need to setup netcfg profiles for each of the interfaces and add them to the
#NETWORKS=(main)
line in rc.conf
Offline
But if I don't want use netcfg?
Offline
I don't think there's any 'wanting' involved here. Devs have taken that decision, and either you work with it or you start hacking around.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Read the ip manual and add the relevant commands to your /etc/rc.local.
The syntax should be something like the following (I haven't tested it):
ip address add dev eth0 local IP1/255.255.255.0 broadcast IP1
ip address add dev eth0 local IP2/255.255.255.255 broadcast IP2
Steven [ web : git ]
GPG: 327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com
Offline
I don't think there's any 'wanting' involved here. Devs have taken that decision, and either you work with it or you start hacking around.
Very constructive.
Read the ip manual and add the relevant commands to your /etc/rc.local.
The syntax should be something like the following (I haven't tested it):ip address add dev eth0 local IP1/255.255.255.0 broadcast IP1 ip address add dev eth0 local IP2/255.255.255.255 broadcast IP2
Thank you, I'll try to do something in this direction.
Offline