(configure and verify...)
dls1#config t
Enter configuration commands, one per line. End with CNTL/Z.
dls1(config)#vlan 101
dls1(config-vlan)#int vlan 101
dls1(config-if)#ip add 10.10.10.1 255.255.255.0
dls1(config-if)#no shut
dls1(config-if)#do sh ip int vlan 101
Vlan101 is up, line protocol is up
Internet address is 10.10.10.1/24
Broadcast address is 255.255.255.255
dls2#config t
Enter configuration commands, one per line. End with CNTL/Z.
dls2(config)#vlan 101
dls2(config-vlan)#int vlan 101
dls2(config-if)#ip add 10.10.10.2 255.255.255.0
dls2(config-if)#no shut
dls2(config-if)#do sh ip int vlan 101
Vlan101 is up, line protocol is up
Internet address is 10.10.10.2/24
Broadcast address is 255.255.255.255
dls1#ping 10.10.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
dls1#10.1.1.102
Trying 10.1.1.102 ... Open
User Access Verification
Password:
dls2#ping 10.10.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
dls2#
that solves that...
No comments:
Post a Comment