Last active
March 23, 2018 15:53
-
-
Save wnoguchi/cfd7070fa495abf3e36860678d9a9978 to your computer and use it in GitHub Desktop.
ospf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VPC1 | |
ip 192.168.0.1 255.255.255.0 192.168.0.254 | |
VPC2 | |
ip 10.1.1.1 255.255.255.0 10.1.1.254 | |
conf t | |
router ospf 1 | |
network 192.168.0.0 0.0.0.255 area 0 | |
network 172.16.0.0 0.0.0.255 area 0 | |
network 10.1.1.0 0.0.0.255 area 0 | |
end | |
conf t | |
hostname R1 | |
int gig0/0 | |
ip addr 192.168.0.254 255.255.255.0 | |
no shut | |
int gig0/1 | |
ip addr 172.16.0.1 255.255.255.0 | |
no shut | |
end | |
conf t | |
hostname R2 | |
int gig0/0 | |
ip addr 10.1.1.254 255.255.255.0 | |
no shut | |
int gig0/1 | |
ip addr 172.16.0.2 255.255.255.0 | |
no shut | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment