/31 bit Point to Point ip address configuration .
R2(config)#int fa0/0
R2(config-if)#ip address 192.168.1.0 255.255.255.254
% Warning: use /31 mask on non point-to-point interface cautiously
R2(config-if)#ip address 192.168.1.0 255.255.255.254
% Warning: use /31 mask on non point-to-point interface cautiously
R4(config)#int fa0/0
R4(config-if)#ip address 192.168.1.1 255.255.255.254
% Warning: use /31 mask on non point-to-point interface cautiously
R4(config-if)#ip address 192.168.1.1 255.255.255.254
% Warning: use /31 mask on non point-to-point interface cautiously
Let’s try to ping :)
R4#ping 192.168.1.0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.0, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.0, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Ok do we need privilege mode to ping ? no .
R4> ping 192.168.1.0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.0, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.0, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Let’s check the ip route:
R4#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
192.168.1.0/31 is subnetted, 2 subnets
C 192.168.1.0 is directly connected, FastEthernet0/0
C 192.168.1.2 is directly connected, FastEthernet0/1
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
192.168.1.0/31 is subnetted, 2 subnets
C 192.168.1.0 is directly connected, FastEthernet0/0
C 192.168.1.2 is directly connected, FastEthernet0/1
I tried to assign the same way on switches 3550,3560 there was no issues.
" im just wondering.... So wht is a the use of Network n Broadcast addrs anyway ?":
Fist if its real point to point interface ( eg: serial, ppp) we don’t need to assign the ip address at all , unnumbered or we could use /32 at both side
But when we use Ethernet as Point to Point we need to consider the broadcast addresses:
RFC 1812 says in section 4.2.3.1 IP Broadcast Addresses :
“ (2) SHOULD silently discard on receipt (i.e., do not even deliver to
applications in the router) any packet addressed to 0.0.0.0 or {
discarded, they MUST be treated as IP broadcasts (see Section
[5.3.5]). There MAY be a configuration option to allow receipt
of these packets. This option SHOULD default to discarding
them.
“
Broadcast fall in to two categories:
Limited broadcast (Local)
0.0.0.0 All one -255.255.255.255
Directed broadcast
Network < all zero > - this is obsolete ( Reference RFC 3021 section 2.2 ) Network , < all one>
Anyway directed broadcasts are always filtered as the best practice.
http://www.faqs.org/rfcs/rfc3021.html
http://www.cisco.com/en/US/docs/ios/12_2t/12_2t2/feature/guide/ft31addr.html
Comments