network namespace機能で遊んでみた
ip netns add test01
ip netns list
ip netns exec test01 ifconfig -a
ip link add name veth–int type veth peer name veth-ext
ip link set veth-ext netns test01
ip netns exec test01 ifconfig -a
ip netns exec test01 ip link set veth-ext up
ip netns exec test01 ip addr add 192.168.3.11/24 dev veth-ext
ip link set dev veth–int up
ip addr add 192.168.3.12/24 dev veth–int
ip route add 192.168.3.0/24 dev veth–int
ping 192.168.3.11
ip netns exec test01 /usr/sbin/sshd
ssh 192.168.3.11