Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xrv box cannot add more than 3 Gi interface #39

Open
ender-myk opened this issue Dec 19, 2018 · 1 comment
Open

xrv box cannot add more than 3 Gi interface #39

ender-myk opened this issue Dec 19, 2018 · 1 comment

Comments

@ender-myk
Copy link

Hi dear team, I tried to bring up a xrv 6.1.2 box with 4 or 5 virtual interfaces, I know that mgmt0 mapping to vNIC 0, and 4 other virtual adapters can be seen when vagrant up. however after boot done I enter the router, can only see 3 Gi interfaces there (Gi0/0/0/0 - Gi0/0/0/2), cannot see the gi0/0/0/3.

Do you guys have any suggestions?

Vagrant file for VM network:
node.vm.network :public_network, bridge: "enp7s0", auto_config: false
node.vm.network :private_network, virtualbox__intnet: "link1", auto_config: false
node.vm.network :private_network, virtualbox__intnet: "link2", auto_config: false
node.vm.network :private_network, virtualbox__intnet: "link3", auto_config: false

Vagrant bootup message (can see 1 bridged and 3 intnet) :
==> rtr1: Importing base box 'IOS-XRv'...
==> rtr1: Matching MAC address for NAT networking...
==> rtr1: Setting the name of the VM: lab3_rtr1_1545210809773_17656
==> rtr1: Clearing any previously set network interfaces...
==> rtr1: Preparing network interfaces based on configuration...
rtr1: Adapter 1: nat
rtr1: Adapter 2: bridged
rtr1: Adapter 3: intnet
rtr1: Adapter 4: intnet
rtr1: Adapter 5: intnet

What I saw on the router (missing gi0/0/0/3) :
RP/0/RP0/CPU0:rtr1#show int desc
Wed Dec 19 09:32:42.297 UTC

Interface Status Protocol Description

Lo0 up up
Nu0 up up
Gi0/0/0/0 up up
Gi0/0/0/1 up up
Gi0/0/0/2 up up
Mg0/RP0/CPU0/0 up up

@ender-myk
Copy link
Author

checked this seems to relate the 4 NIC built in the python script, but for now I see the script has changed to 8 NIC already:

# Setup networking - including ssh logger.debug('Create eight NICs') for i in range(1, 9): run(['VBoxManage', 'modifyvm', vmname, '--nic' + str(i), 'nat', '--nictype' + str(i), 'virtio'])

Tested it works fine for CSR1000V(seems only 1 NIC needed in ), and also works for 6.2.1 IOS-XRv.

The problem only occurs for 6.1.1 and 6.1.2, and it can only add 4 physical interfaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant