Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »


Network NameSpace ip netns


start-shell

start-shell
SPS1>en
SPS1#start-
SPS1#start-shell
bash-5.0$ su -
Password:   [the password is = "root" ]
root@SPS1:~#


namespaceNetwork NameSpace ip netns

root@SPS1:~# ip netns list
zebosfib1 (id: 0)
zebosfib0


management IP@

ip netns exec zebosfib1 ip add | grep 172

zebosfib1
ip netns exec zebosfib0 ip add | grep 172
root@R4PLAB:/home/ocnos# ip netns exec zebosfib1 ip add | grep 172
    inet 172.16.10.204/24 brd 172.16.10.255 scope global dynamic eth0
install debin package

ip netns exec zebosfib1 apt-get update

ip netns exec zebosfib1 apt-get install iperf3

select the interface ( in this case po1.240 )

ip a | grep -A 2 po1.240

node
root@R10GPS:/home/ocnos# ip a | grep -A 2 po1.240
491553008: po1.240: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether e8:c5:7a:fa:f2:3c brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.10/24 brd 10.10.10.255 scope global po1.240
       valid_lft forever preferred_lft forever
    inet6 fe80::eac5:7aff:fefa:f23c/64 scope link


just adding the source IP@ of the server :

server side:   iperf3 -s 10.10.10.10 

client side:   iperf3 -c 10.10.10.10.



  • No labels