Created
June 17, 2013 21:03
-
-
Save maoy/5800415 to your computer and use it in GitHub Desktop.
network interfaces on agave021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet static | |
address 135.207.223.61 | |
netmask 255.255.255.0 | |
network 135.207.223.0 | |
broadcast 135.207.223.255 | |
gateway 135.207.223.1 | |
# dns-* options are implemented by the resolvconf package, if installed | |
dns-nameservers 135.207.172.11 | |
dns-search research.att.com | |
auto veth1 | |
iface veth1 inet static | |
address 172.31.254.2 | |
netmask 255.255.255.0 | |
pre-up ip link add veth1 type veth peer name veth1p || true | |
pre-up ip link set veth1 promisc on | |
pre-up ip link set veth1p promisc on | |
up ip link set veth1 up | |
up ip link set veth1p up | |
down ip link set veth1 down | |
down ip link set veth1p down | |
auto eth1 | |
#iface eth1 inet manual | |
iface eth1 inet static | |
address 0.0.0.0 | |
auto br100 | |
iface br100 inet static | |
bridge_ports eth1 veth1p | |
bridge_stp off | |
bridge_maxwait 0 | |
bridge_fd 0 | |
address 0.0.0.0 | |
post-up iptables -t mangle -A POSTROUTING -o br100 -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment