X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Fsample-config%2Ftinc-up;h=739afd818c444051319e2df4bcd8fd35bdb50ba4;hp=8f05c4a58c60383293504378c1514161837e31fe;hb=1dcbdf48eb4a642e4d70a9e67aaca78deacf352d;hpb=bf3a11898898c0618cd1b2e7a792b7d7fe56aecb;ds=sidebyside diff --git a/doc/sample-config/tinc-up b/doc/sample-config/tinc-up index 8f05c4a5..739afd81 100644 --- a/doc/sample-config/tinc-up +++ b/doc/sample-config/tinc-up @@ -6,10 +6,13 @@ # but for ethertap and FreeBSD this is tap0, tap1, tap2 etcetera, # for Solaris and OpenBSD it is tun0, tun1, etcetera. -# Set hardware ethernet address (required!) +# Set hardware ethernet address, needed on Linux when in router mode ifconfig $INTERFACE hw ether fe:fd:0:0:0:0 # Give it the right ip and netmask. Remember, the subnet of the # tap device must be larger than that of the individual Subnets # as defined in the host configuration file! -ifconfig $INTERFACE 192.168.1.1 netmask 255.255.0.0 -arp +ifconfig $INTERFACE 192.168.1.1 netmask 255.255.0.0 + +# Disable ARP, needed on Linux when in router mode +ifconfig $INTERFACE -arp