Quote:> how to set up a virtual interface
> How to make certain resolv.conf is not erased on a reboot.
> [this is using] /etc/network/interfaces
OK.
1. Create a vIF by naming it in the same way that you would for eth0 or
wlan0, etc. Here's a line from a firewall I look after:
auto eth1:5
iface eth1:5 inet static
address 10.1.30.190
netmask 255.255.255.224
broadcast 10.1.30.191
After that it "just works". Or did you mean that you wanted a TUN/TAP
interface, or a Bridge? You can invent these by using the pre-up and up
lines for your required interface.
2. Leaving resolv.conf alone
* Have you removed the resolvconf package?
* If you're using ppp* have you told it to leave your resolv.conf alone?
* If you're using dhclient, try this:
echo 'make_resolv_conf () { return 0; }' > /etc/dhcp3/dhclient-enter-hooks.d/local
Chris