You are not logged in.
Hello,
I´m pretty new to Archlinux. So far everything is quite pleasuring. ![]()
Best switch ever!
Now I want to setup something like that.
iface tun0 inet static
address 11.11.0.200
pointopoint 11.11.0.100
netmask 255.255.255.255
I used a command like `sudo ip addr add 11.11.0.200/32 peer 11.11.0.100 dev tun0` to accomplish this,
but what do I have to write to my /etc/network.d/my-interface, to get the same result?
Hope this is easy to answer! Thanks!
Last edited by leoc (2012-03-02 00:01:49)
Offline
My current work around is just specifying ADDRESS and NETMASK and then do something like:
POST_UP="ip addr add 11.11.0.200/32 peer 11.11.0.100 dev tun0; ip addr del 11.11.0.200/32 scope global dev tun0;"
Works, but is not that neat! ![]()
Offline