tag: H5G, SDN
Nemo testbed subnet 192.168.124.1 (H5Gbackend).
netgear mgmt port 9 has IP 192.168.124.115 user admin pwd empty.
netgear port 15-16 dhcp for 2 test hosts.
Test hosts connected over switch with static IP
Port 9 is the defaul mgmt port with dhcp. OOB doesn't get dhcp until reconfigure and reboot :(. Seems like only mgmt iface get activated. OOB will be configured first.
Use usb console cable + minicom.
Enable mode
enable password: admin (must be set in webUI, after each restart? O.o).
Physical connections
Configure the hostname
(M4300-28G) # hostname TestOF-SW
Configure the OOB “serviceport” on the M4300
Note that this is done at the EXEC level and not the “configure” level
(OF-SW) # enable (OF-SW) # serviceport protocol none (OF-SW) # serviceport ip 192.168.1.100 255.255.255.0 192.168.1.1 (OF-SW) # serviceport ipv6 address 2a92:168:1::100/48 (OF-SW) # serviceport ipv6 gateway 2a98:8:8::1
Configure OpenFlow Note: THe SDN Controller is located on a server 192.168.1.101 on port 6633
(OF-SW) # configure (OF-SW) (Config) # openflow ip-mode serviceport (OF-SW) (Config) # openflow controller 192.168.1.101 6633 tcp (OF-SW) (Config) # openflow variant openflow13 (OF-SW) (Config) # openflow enable (OF-SW) (Config) # Ctrl-Z (OF-SW) #show openflow Administrative Mode............................ Enable Operational Status............................. Enabled Disable Reason................................. None IP Address..................................... 192.168.1.100 IP Mode........................................ ServicePort IP Static IP Address.............................. 0.0.0.0 OpenFlow Variant............................... OpenFlow 1.3 Passive Mode................................... Disable Review flows injected by SDN Controller (OF-SW) # show openflow installed flows Flow type "1DOT3" Match criteria: Flow table 60 : Priority 0 Actions: Redirect: CONTROLLER Hard Timeout 0 : Idle Timeout 0 Status: Duration 1485 : Packet Count 843 : Byte Count 66941 Idle 520 : installed in hardware 1 Flow type "1DOT3" Match criteria: Flow table 60 : Priority 100 Ingress port 1/0/1 Actions: Egress port 1/0/2 Hard Timeout 0 : Idle Timeout 0 Status: Duration 537 : Packet Count 318 : Byte Count 24799 Idle 0 : installed in hardware 1 Flow type "1DOT3" Match criteria: Flow table 60 : Priority 100 Ingress port 1/0/2 Actions: Egress port 1/0/1 Hard Timeout 0 : Idle Timeout 0 Status: Duration 530 : Packet Count 309 : Byte Count 24067 Idle 0 : installed in hardware 1
Test the switch flows
host100 ~$ ~$ fping 192.168.100.200 192.168.100.200 is alive
host200 ~$ ~$ fping 192.168.100.100 192.168.100.100 is alive