Here is the outline for how to get OSPF running on 3 Extreme routers and then connecting them to a Cisco router to simulate an outside connection.
Here is a video if you want to watch: https://www.youtube.com/watch?v=YZkAzKoZlz4
Things to keep in mind
- Your Router that will be connecting your the WAN/Internet needs to have "OSPF export" to route the other interfaces in your ospf domain. I am doing this with a static route in "Extreme 1"
- If you have interfaces on a local router you will advertise them by exporting them as "direct" routes.
- All routers need to be in the same area. Area 0.0.0.0 is the default.
- Every router needs to have a different RouterID.
- Vlan 999 is my link out to the WAN.
create vlan "VLAN_0900"
configure vlan VLAN_0900 tag 900
create vlan "VLAN_0902"
configure vlan VLAN_0902 tag 902
create vlan "VLAN_0999"
configure vlan VLAN_0999 tag 999
configure vlan VLAN_0900 add ports 46 tagged
configure vlan VLAN_0902 add ports 45 tagged
configure vlan VLAN_0999 add ports 48 tagged
configure vlan VLAN_0902 ipaddress 10.255.251.1 255.255.255.252
enable ipforwarding vlan VLAN_0900
configure vlan VLAN_0902 ipaddress 10.255.251.10 255.255.255.252
enable ipforwarding vlan VLAN_0902
configure vlan VLAN_0999 ipaddress 10.255.251.253 255.255.255.252
enable ipforwarding vlan VLAN_0999
configure iproute add default 10.255.251.254
configure ospf routerid 1.1.1.1
enable ospf
enable ospf export static cost 5 type ase-type-1
configure ospf add vlan VLAN_0900 area 0.0.0.0 link-type point-to-point
create vlan "VLAN_0902"
configure vlan VLAN_0902 tag 902
create vlan "VLAN_0999"
configure vlan VLAN_0999 tag 999
configure vlan VLAN_0900 add ports 46 tagged
configure vlan VLAN_0902 add ports 45 tagged
configure vlan VLAN_0999 add ports 48 tagged
configure vlan VLAN_0902 ipaddress 10.255.251.1 255.255.255.252
enable ipforwarding vlan VLAN_0900
configure vlan VLAN_0902 ipaddress 10.255.251.10 255.255.255.252
enable ipforwarding vlan VLAN_0902
configure vlan VLAN_0999 ipaddress 10.255.251.253 255.255.255.252
enable ipforwarding vlan VLAN_0999
configure iproute add default 10.255.251.254
configure ospf routerid 1.1.1.1
enable ospf
enable ospf export static cost 5 type ase-type-1
configure ospf add vlan VLAN_0900 area 0.0.0.0 link-type point-to-point
configure ospf add vlan VLAN_0902 area 0.0.0.0 link-type point-to-point
Extreme 2 Config:
create vlan "VLAN_0900"
configure vlan VLAN_0900 tag 900
create vlan "VLAN_0901"
configure vlan VLAN_0901 tag 901
configure vlan VLAN_0900 add ports 45 tagged
configure vlan VLAN_0901 add ports 46 tagged
configure vlan VLAN_0900 ipaddress 10.255.251.2 255.255.255.252
enable ipforwarding vlan VLAN_0900
configure vlan VLAN_0901 ipaddress 10.255.251.5 255.255.255.252
enable ipforwarding vlan VLAN_0901
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan VLAN_0900 area 0.0.0.0 link-type point-to-point
create vlan "VLAN_0901"
configure vlan VLAN_0901 tag 901
configure vlan VLAN_0900 add ports 45 tagged
configure vlan VLAN_0901 add ports 46 tagged
configure vlan VLAN_0900 ipaddress 10.255.251.2 255.255.255.252
enable ipforwarding vlan VLAN_0900
configure vlan VLAN_0901 ipaddress 10.255.251.5 255.255.255.252
enable ipforwarding vlan VLAN_0901
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan VLAN_0900 area 0.0.0.0 link-type point-to-point
configure ospf add vlan VLAN_0901 area 0.0.0.0 link-type point-to-point
Extreme 3 Config:
create vlan "VLAN_0901"
configure vlan VLAN_0901 tag 901
configure vlan VLAN_0902 add ports 46 tagged
configure vlan VLAN_0901 ipaddress 10.255.251.6 255.255.255.252
enable ipforwarding vlan VLAN_0901
configure vlan VLAN_0902 ipaddress 10.255.251.9 255.255.255.252
enable ipforwarding vlan VLAN_0902
configure ospf routerid 3.3.3.3
enable ospf
configure ospf add vlan VLAN_0901 area 0.0.0.0 link-type point-to-point
configure vlan VLAN_0901 tag 901
create vlan "VLAN_0902"
configure vlan VLAN_0902 tag 902
configure vlan VLAN_0901 add ports 45 taggedconfigure vlan VLAN_0902 add ports 46 tagged
configure vlan VLAN_0901 ipaddress 10.255.251.6 255.255.255.252
enable ipforwarding vlan VLAN_0901
configure vlan VLAN_0902 ipaddress 10.255.251.9 255.255.255.252
enable ipforwarding vlan VLAN_0902
configure ospf routerid 3.3.3.3
enable ospf
configure ospf add vlan VLAN_0901 area 0.0.0.0 link-type point-to-point
configure ospf add vlan VLAN_0902 area 0.0.0.0 link-type point-to-point
Nice post!
ReplyDelete
ReplyDeletepls can do the lab on EIGRP ? tks