This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_stuff:juniper:vmx [2019/12/05 13:21] – jotasandoku | network_stuff:juniper:vmx [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| INSTALLATION: | INSTALLATION: | ||
| * [[https:// | * [[https:// | ||
| - | * Install: | + | * Install: |
| * based on : [[https:// | * based on : [[https:// | ||
| * Troubleshooting: | * Troubleshooting: | ||
| Line 40: | Line 40: | ||
| ansible-playbook --private-key=~/ | ansible-playbook --private-key=~/ | ||
| ansible-playbook --private-key=~/ | ansible-playbook --private-key=~/ | ||
| + | | ||
| + | | ||
| + | |||
| + | ---- | ||
| + | KEY POINTS: | ||
| + | * If we use the same instance of vmx multiple times, irb macs with be the same and communication won't happen unless we do things like this: | ||
| + | |||
| + | set interfaces irb unit 400 mac 00: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | TODO:\\ | ||
| + | * Review project documentation | ||
| + | * libvirtd assigns the fxp address via dhcp but also gives a default route (ie 0/0 via fxp). we need to fix this | ||
| + | * option1: play with dhcp kvm settings so it doesn' | ||
| + | * option2: automate this: 1. grab ip in fxp0 2. remove dhcp config from fxp0 3. add static route (see below). | ||
| + | * option3: do it manually: | ||
| + | |||
| + | [edit interfaces fxp0 unit 0 family inet] | ||
| + | - dhcp; | ||
| + | [edit interfaces fxp0 unit 0 family inet] | ||
| + | + | ||
| + | [edit routing-options static] | ||
| + | route 10.8.40.0/ | ||
| + | + route 192.0.0.0/8 next-hop 192.168.121.1; | ||