You are not logged in.
One thing that in Gentoo was simpler... or better documented. What's the simplest/recommended way of defining two interfaces (let's say: `eth0' and `eth1'), assigning each one a set of static routes and setting forward?
Gentoo's `/etc/conf.d/network' was self explanatory.
In Arch it seems to be completely undocumented.
I guess I need: `net.ipv4.ip_forward' sysctl for forwarding.
How about defining interfaces and routes?
Does `/etc/rc.conf' allow defining a few interfaces?
Is any simpler way than using netcfg? Is there any comprehensive documentation (not a set of examples) on all `/etc/network.d/*' file options?
How can I automatically set two addresses for `eth0'?
Best regards,
/m
Offline
* To enable forwarding, the easiest way is indeed to add "net.ipv4.ip_forward = 1" to /etc/sysctl.conf
* /etc/rc.conf only allows one interface to be defined in it. For using multiple interfaces, using netcfg and have the profiles auto-activate during boot is your best bet indeed.
* Static routes and multiple ip's per interface can also be defined in the netcfg profile.
Burninate!
Offline
Thanks,
* Static routes and multiple ip's per interface can also be defined in the netcfg profile.
May I ask for any example (for two IPs per eth0)?
-> Is there any comprehensive documentation (not a set of examples) on all `/etc/network.d/*' file options?
Offline
Have a look at this thread. It contains some good examples on how to set it up (in essence you just add ip commands in your netcfg profile).
Documentation wise, there's the netcfg and ip manpage. But I agree that perhaps the wiki could use some expanding on the subject. I'll see if I can add some info to the netcfg wiki page about this (won't be getting around to that until tonight or tomorrow though).
Burninate!
Offline
Thanks!
Offline