http://en.wikipedia.org/wiki/TUN/TAP
- TAP (as in network tap) :L2
- Vampire tapのtap http://en.wikipedia.org/wiki/Vampire_tap
- TUN (as in network TUNnel) :L3
http://en.wikipedia.org/wiki/TUN/TAP
- TAP (as in network tap) :L2
- Vampire tapのtap http://en.wikipedia.org/wiki/Vampire_tap
- TUN (as in network TUNnel) :L3
iptables -t nat -A POSTROUTING -s 192.0.2.2 -o eth0 -j MASQUERADE
メトリック指定
# cat /etc/sysconfig/network-scripts/route-eth0 198.51.100.0/24 via 192.0.2.1 dev eth0 metric 2
# ip route add 198.51.100.0/24 via 192.0.2.1 dev eth0 metric 2
めも
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/401cngdefgw.html
# route add default gw 192.168.0.2
削除
route del default gw 192.168.0.1
めも