Skip to content

Conversation

@jmgilman
Copy link
Collaborator

Summary

  • Update VyOS interface mapping to match actual VP6630 hardware layout
  • eth0 is the top SFP+ port (WAN → CCR2004), not eth4
  • eth1 is the bottom SFP+ port (Trunk → CRS Switch), not eth5
  • eth2-eth5 are the 2.5GbE LAN ports

Changes

  • Updated gateway.conf with correct interface names
  • Updated test topology and fixtures
  • Updated architecture documentation

Test plan

  • Verify VyOS boots with new configuration
  • Verify transit link connectivity (10.0.0.0/30)
  • Verify VLAN trunk works on eth1
  • Run Containerlab integration tests

🤖 Generated with Claude Code

jmgilman and others added 4 commits December 29, 2025 16:45
Update VyOS configuration and tests to reflect actual VP6630 interface
layout discovered during hardware setup:

- eth0: Top SFP+ port (WAN → CCR2004 DOWNLINK)
- eth1: Bottom SFP+ port (Trunk → CRS Switch)
- eth2-eth5: 2.5GbE LAN ports

Previously documented as eth4/eth5 which was incorrect.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Containerlab reserves eth0 for management, so tests cannot use production
interface names directly. This updates the test infrastructure to:

- Add interface remapping in render-config-boot.sh (eth0→eth2, eth1→eth3)
- Update topology.clab.yml with remapped interfaces
- Update conftest.py with test-specific values
- Update documentation to explain the mapping

Production config (gateway.conf) remains unchanged with eth0/eth1.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update DHCP relay to use new syntax (listen-interface/upstream-interface)
  to fix deprecation warning
- Add system login block with vyos user to prevent "delete current user"
  error when applying config
- User authentication (SSH keys, password) managed separately via Ansible

The flow control warnings on SFP+ ports are hardware-related and benign.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The previous approach added a new login block, but gateway.conf now
includes a user login block to prevent the "delete current user" error.
Updated render-config-boot.sh to inject the SSH public key into the
existing authentication block using awk instead of sed.

Also update ansible inventory to use transit link IP by default.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jmgilman jmgilman merged commit 3939d0b into master Dec 30, 2025
1 check passed
@jmgilman jmgilman deleted the fix/vyos-interface-mapping branch December 30, 2025 01:22
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

Successfully merging this pull request may close these issues.

2 participants