Configuring Router USACalR1

The configuration for Router USA.Cal.R1 would be as follows:

interface loopback 0

ip address 172.16.10.1 255.255.255.255 interface fastethernet 2/1.1 ip address 172.16.1.1 255.255.255.0 encap isl 100

interface fastethernet 2/1.2 ip address 172.16.2.1 255.255.255.0 encap isl 200

interface fastethernet 2/1.3 ip address 172.16.3.1 255.255.255.0 encap isl 300

interface fastethernet 2/1.4 ip address 172.16.4.1 255.255.255.0 encap isl 400

interface fastethernet 2/1.5 ip address 172.16.5.1 255.255.255.0 encap isl 500 router ospf 1

network 172.16.0.0 0.0.16.255 area 1 network 172.16.254.0 0.0.0.255 area 0 area 1 range 172.16.0.0 255.255.240.0

In this configuration, each subinterface represents a VLAN. The IP address is assigned for each VLAN, and the third command defines the encapsulation type, which in this case is ISL plus the VLAN ID.

0 0

Post a comment