Qn1 - Layer 2 (2 Points) : Banco Bank Headquarter
Qn1 - Layer 2 (2 Points) : Banco Bank Headquarter
Qn1 - Layer 2 (2 Points) : Banco Bank Headquarter
NOTE: The IOU has a bug. Delete #ip nat inside on e0/1 and e0/3 interface of R7 and R8
to get around the bug. If you don’t delete this, OSPF neighbor may not form.
PC101#traceroute SERVER1
3. SW2 need network the prefix 172.16.100.0/24 under OSPF process because DHCP server
need routes to reply to DHCP requests
Use this command to test
#ping 172.8.8.8 source vlan100
4. Are the configurations about IP address pool an gateway on R7 and R8 are correct ?
ANS Q1 – Layer 2
# Device Commands Validations
1 Check whether PC101 and Server1 are able to get IP addresses
PC101 sh ip int brief No IP Address
sh run int e0/0 client-id E0/0 used for DHCP
R8 sh run | s pool Check client-id and match with the PC101 mac-
address.
SW2 sh run int e1/0 Check the SW2 int e1/0 for the port-security
mac-address
Fault 1 – PC101 mac-address is different from
the R8 dhcp pool client-identifier and SW2 port
security mac-address.
Fix PC101
int e0/0
no mac-address
mac-address xxxx
SW2
int e1/0
shutdown
no shut
vlan 12
SW1/ sh run int e1/0 Fault 3: switchport access vlan wrong on SW2
SW2 Fault 4: switchport access vlan wrong on SW1
Fix SW1
int e1/0
switchport access vlan 200
SW2
int e1/0
switchport access vlan 100
int E1/0
shutdown
no shutdown
sh ip int brief /--Ensure the SVI and E1/0 interface up--/
PC101
NOTE: if you don’t get an ip address, do a #shut and #no shut on PC101
e0/0 interface
/-NOTE: You can copy and paste the config from SW1--/
PC101
R8 sh run | s dhcp pool It may have the DHCP pool for Server only. PC1
ip address 172.16.100.200 may be missing.
Hence, we need to check the DHCP pool from R7
Fault 9 – #default-router 172.16.200.1
missing on R8
R7 sh run | s dhcp pool You can find the PC101 ip address in R8
Fix R8
SW2
ping 172.8.8.8 source vlan 100 /--Ensure ping successful--/
PC101
sh ip int br /--If no IP obtained, check SW2 port-security -/
show ip route
SW2
Concepts
The requirement is that PC101 access Server1 through SW2 and SW1 as shown in the
figure below.
SW1 and SW2 are L3 Switches. SW2 is the GW for VLAN 100 where PC101 is connected
to. SW1 is the GW for VLAN 101 where Server1 is connected to.
R7 and R8 are DHCP Servers. R7 is the DHCP server for Server1 and R8 is the DHCP
server for PC101. Hence, we need to configure #ip helper-address on SW2 and
SW1
OSPF Area 0 is used for the area (SW1, SW2, R7 and R8).
There are three mac addresses that we need to check PC101 E0/0, SW2 E1/0 port
security and R8 DHCP pool client identifier. They must all match.
PC101 may have a mac-address config on e0/0, which you can change if you find that to
be the fault. But, if this config doesn’t exist, check the default mac address using #sh int
e0/0 command
SW1 and SW2 use VLAN12 to connect. e0/0-3 interfaces are used for trunking. VLAN12
must be allowed on that trunk.
If VLAN12 is down, there could be two reasons
o You will need to add VLAN12 into VLAN database
o VLAN12 may not be allowed on the trunk
When you practice BT5, you will see the ACL issue
Troubleshooting Tips
If OSPF neighbors are fine, DHCP helper address is configured on SW1/SW2, mac
addresses on PC101,SW2 and R8 are consistent, SW2 port e1/0 is not error-disabled,
Still, the PC101 is still unable to receive an IP address, the problem is with the e1/0
VLAN.
If you get the following output, it means that the traffic is from SW2 is not going through
SW1. Check #passsive-interface on SW1/SW2
PC101#traceroute SERVER1
Translating "SERVER1"...domain server (172.8.8.8) [OK]