01-24-2020 02:25 AM
Here are my configs
en
config t
int g0/0
ip add 192.168.0.254 255.255.255.0
no shut
int g0/1
ip add 172.16.0.2 255.255.255.252
no shut
int g0/2
ip add 172.16.0.6 255.255.255.252
no shut
router ospf 1
network 192.168.0.0 0.0.0.255 area 0
network 172.16.0.0 0.0.0.3 area 0
network 172.16.0.4 0.0.0.3 area 0
en
config t
vlan 5
vlan 10
vlan 15
int vlan 5
ip add 10.0.0.126 255.255.255.128
no shut
ip helper-address 192.168.0.1
int vlan 10
ip add 10.0.0.190 255.255.255.192
no shut
ip helper-address 192.168.0.1
int vlan 15
ip add 10.0.0.254 255.255.255.192
no shut
ip helper-address 192.168.0.1
int g1/0/24
switchport mode acc
switchport mode trunk
no shut
exit
ip routing
router ospf 1
network 10.0.0.0 0.0.0.127 area 0
network 10.0.0.128 0.0.0.63 area 0
network 10.0.0.192 0.0.0.63 area 0
network 172.16.0.0 0.0.0.3 area 0
en
config t
vlan 5
vlan 10
vlan 15
int vlan 5
ip add 10.0.1.126 255.255.255.128
no shut
ip helper-address 192.168.0.1
int vlan 10
ip add 10.0.1.190 255.255.255.192
no shut
ip helper-address 192.168.0.1
int vlan 15
ip add 10.0.1.254 255.255.255.192
no shut
ip helper-address 192.168.0.1
int g1/0/24
switchport mode acc
switchport mode trunk
exit
ip routing
router ospf 1
network 10.0.1.0 0.0.0.127 area 0
network 10.0.1.128 0.0.0.63 area 0
network 10.0.1.192 0.0.0.63 area 0
network 172.16.0.4 0.0.0.3 area 0
Solved! Go to Solution.
01-24-2020 02:51 AM
01-24-2020 03:25 AM
@haydenirvin Hello,
Do below changes
en
config t
int g0/0
ip add 192.168.0.254 255.255.255.0
no shut
int g0/1
ip add 172.16.0.2 255.255.255.252
no shut
int g0/2
ip add 172.16.0.6 255.255.255.252
no shut
router ospf 1
network 192.168.0.0 0.0.0.255 area 0
network 172.16.0.0 0.0.0.3 area 0
network 172.16.0.4 0.0.0.3 area 0
en
config t
vlan 5
vlan 10
vlan 15
int vlan 5
ip add 10.0.0.126 255.255.255.128
no shut
ip helper-address 192.168.0.1
int vlan 10
ip add 10.0.0.190 255.255.255.192
no shut
ip helper-address 192.168.0.1
int vlan 15
ip add 10.0.0.254 255.255.255.192
no shut
ip helper-address 192.168.0.1
int g1/0/24
no switchport mode acc
no switchport mode trunk
ip address 192.168.0.253 255.255.255.0
ip ospf 1 area 0
exit
ip routing
router ospf 1
network 10.0.0.0 0.0.0.127 area 0
network 10.0.0.128 0.0.0.63 area 0
network 10.0.0.192 0.0.0.63 area 0
network 172.16.0.0 0.0.0.3 area 0
en
config t
vlan 5
vlan 10
vlan 15
int vlan 5
ip add 10.0.1.126 255.255.255.128
no shut
ip helper-address 192.168.0.1
int vlan 10
ip add 10.0.1.190 255.255.255.192
no shut
ip helper-address 192.168.0.1
int vlan 15
ip add 10.0.1.254 255.255.255.192
no shut
ip helper-address 192.168.0.1
int g1/0/24
no switchport mode acc
no switchport mode trunk
ip address 172.16.0.5 255.255.255.252
ip ospf 1 area 0
exit
ip routing
router ospf 1
network 10.0.1.0 0.0.0.127 area 0
network 10.0.1.128 0.0.0.63 area 0
network 10.0.1.192 0.0.0.63 area 0
network 172.16.0.4 0.0.0.3 area 0
01-24-2020 02:51 AM
01-24-2020 03:34 AM - edited 01-24-2020 04:05 AM
Thank you
01-24-2020 03:25 AM
@haydenirvin Hello,
Do below changes
en
config t
int g0/0
ip add 192.168.0.254 255.255.255.0
no shut
int g0/1
ip add 172.16.0.2 255.255.255.252
no shut
int g0/2
ip add 172.16.0.6 255.255.255.252
no shut
router ospf 1
network 192.168.0.0 0.0.0.255 area 0
network 172.16.0.0 0.0.0.3 area 0
network 172.16.0.4 0.0.0.3 area 0
en
config t
vlan 5
vlan 10
vlan 15
int vlan 5
ip add 10.0.0.126 255.255.255.128
no shut
ip helper-address 192.168.0.1
int vlan 10
ip add 10.0.0.190 255.255.255.192
no shut
ip helper-address 192.168.0.1
int vlan 15
ip add 10.0.0.254 255.255.255.192
no shut
ip helper-address 192.168.0.1
int g1/0/24
no switchport mode acc
no switchport mode trunk
ip address 192.168.0.253 255.255.255.0
ip ospf 1 area 0
exit
ip routing
router ospf 1
network 10.0.0.0 0.0.0.127 area 0
network 10.0.0.128 0.0.0.63 area 0
network 10.0.0.192 0.0.0.63 area 0
network 172.16.0.0 0.0.0.3 area 0
en
config t
vlan 5
vlan 10
vlan 15
int vlan 5
ip add 10.0.1.126 255.255.255.128
no shut
ip helper-address 192.168.0.1
int vlan 10
ip add 10.0.1.190 255.255.255.192
no shut
ip helper-address 192.168.0.1
int vlan 15
ip add 10.0.1.254 255.255.255.192
no shut
ip helper-address 192.168.0.1
int g1/0/24
no switchport mode acc
no switchport mode trunk
ip address 172.16.0.5 255.255.255.252
ip ospf 1 area 0
exit
ip routing
router ospf 1
network 10.0.1.0 0.0.0.127 area 0
network 10.0.1.128 0.0.0.63 area 0
network 10.0.1.192 0.0.0.63 area 0
network 172.16.0.4 0.0.0.3 area 0
01-24-2020 03:56 AM - edited 01-24-2020 04:06 AM
I needed to do the no switchport command. Thank you
01-24-2020 04:45 AM
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