07-03-2022 06:13 PM
I ahve some Guest Docker Ubuntu containers, they can connect to the topology but I want to add static routes. How can i add a static route to it?
It seems like route add
command might do something
07-03-2022 06:22 PM
07-03-2022 06:25 PM
I think I figured it out with this command, now I have to get the l2 switch to ping the router, ading routes to these vpcs is annoying
07-03-2022 06:30 PM
But this emulate pc config dhcp and config defualt route will do job i think.
07-03-2022 06:30 PM - edited 07-03-2022 06:31 PM
I have another question would anyone have a suggestion to add a static route from this layer 2 D2 switch to reach 10.1.0.1 R3 f0/1 interface
Only thing I have defined on it is a management VLAN, and I can't point static route out the access port
2#sh run
*Jul 4 01:29:04.269: %SYS-5-CONFIG_I: Configured from console by console
D2#sh run
Building configuration...
Current configuration : 2870 bytes
!
! Last configuration change at 01:29:04 UTC Mon Jul 4 2022
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname D2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
no ip domain-lookup
ip cef
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
media-type rj45
negotiation auto
!
interface GigabitEthernet0/1
switchport mode access
media-type rj45
negotiation auto
spanning-tree portfast edge
!
interface GigabitEthernet0/2
switchport mode access
media-type rj45
negotiation auto
spanning-tree portfast edge
!
interface Vlan1
ip address 10.1.0.2 255.255.255.0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
07-03-2022 06:55 PM
Ip routing need for static route
If you want to keep it as l2 sw
Then defualt gateway will be only need.
07-03-2022 07:21 PM
I crashed my computer earlier and it did something when it autosaved the GNS topology to where the access port behavior wouldn't ping to the router.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide