Skip to content

Instantly share code, notes, and snippets.

@wnoguchi
Last active March 23, 2018 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wnoguchi/cfd7070fa495abf3e36860678d9a9978 to your computer and use it in GitHub Desktop.
Save wnoguchi/cfd7070fa495abf3e36860678d9a9978 to your computer and use it in GitHub Desktop.
ospf
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