Created
November 14, 2014 22:40
-
-
Save sorenisanerd/09a020ee0bf8cb3ba2ca to your computer and use it in GitHub Desktop.
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
| soren@gcp1-testjenkins-puppet-rjil-gate-202:~$ sudo PYTHONPATH=/usr/lib/python2.7/dist-packages/contrail_vrouter_api/gen_py/instance_service /usr/sbin/contrail-provision-vgw-interface --interface vgw1 --subnets 100.1.0.0/24 --routes 0.0.0.0/0 --vrf default-domain:services:public:public --oper create | |
| Creating virtual-gateway ... | |
| /usr/bin/vif --create vgw1 --mac 00:01:00:5e:00:00 | |
| ifconfig vgw1 up | |
| route add -net 100.1.0.0/24 dev vgw1 | |
| Done creating virtual-gateway... | |
| soren@gcp1-testjenkins-puppet-rjil-gate-202:~$ sudo vif --list | |
| vif0/0 OS: eth0 | |
| Type:Physical HWaddr:fa:16:3e:70:f9:f2 IPaddr:0 | |
| Vrf:0 Flags:TcL3 MTU:1514 Ref:13 | |
| RX packets:212612 bytes:30398082 errors:0 | |
| TX packets:230078 bytes:46644548 errors:0 | |
| vif0/1 OS: vhost0 | |
| Type:Host HWaddr:fa:16:3e:70:f9:f2 IPaddr:0 | |
| Vrf:0 Flags:L3 MTU:1514 Ref:3 | |
| RX packets:229708 bytes:46628348 errors:0 | |
| TX packets:212602 bytes:30397270 errors:0 | |
| vif0/2 OS: pkt0 | |
| Type:Agent HWaddr:00:00:5e:00:01:00 IPaddr:0 | |
| Vrf:65535 Flags:L3 MTU:1514 Ref:2 | |
| RX packets:356 bytes:24920 errors:0 | |
| TX packets:3545 bytes:248793 errors:0 | |
| vif0/3 OS: vgw1 | |
| Type:Gateway HWaddr:00:01:00:5e:00:00 IPaddr:0 | |
| Vrf:1 Flags:L3 MTU:1514 Ref:2 | |
| RX packets:29 bytes:2146 errors:15 | |
| TX packets:9 bytes:570 errors:0 | |
| vif0/4351 OS: pkt1 | |
| Type:Stats HWaddr:00:00:00:00:00:00 IPaddr:0 | |
| Vrf:65535 Flags:L3L2 MTU:9136 Ref:1 | |
| RX packets:0 bytes:0 errors:0 | |
| TX packets:0 bytes:0 errors:0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment