Step 1: Understand the topology
We have:
You want to assign addresses in the 10.0.0.0/x range.
This is a point-to-point link , meaning only 2 devices exist on this subnet.
Step 2: Choose the subnet mask
Normally, a subnet mask defines the number of hosts.
On a point-to-point link, we only need 2 IP s.
The smallest subnet mask to allow 2 usable hosts is /30 .
Calculation:
/30 → 32 − 30 = 2 host bits
Hosts = 2² − 2 = 2 usable IP s, Perfect for point-to-point.
Subnet: 10.0.0.0/30
Network address: 10.0.0.0
Usable IPs: 10.0.0.1 and 10.0.0.2
Step 3: Assign IP addresses
R1 Serial interface: 10.0.0.1/30
R2 Serial interface: 10.0.0.2/30
Step 4: Cisco configuration
On R1 :
On R2 :
Step 5: Test connectivity
From R1 :
If successful , the link is up .
Step 6: Security advantage
Using /30:
Limits IP addresses to exactly two usable hosts , preventing extra devices from joining.
Minimizes attack surface on the link.
you find this post helpful and would like to support my work, you can send a donation via TRC-20 (USDT) . Your contributions help us keep creating and sharing more valuable content.
circle-check
TRC-20 Address: TAAVVf9ZxUpbyvTa6Gd5SGPmctBdy4PQwf
Thank you for your generosity! 🙏
Network IP , Broadcast IP , First IP (usable) , Last IP (usable) , Number of available IPs (hosts) , Subnet mask , Nerd Cafe , نرد کافه
Channel Overview
🌐 Website: www.nerd-cafe.irarrow-up-right
🌐 Website: www.nerd-cafe.irarrow-up-right
📺 YouTube: @nerd-cafearrow-up-right
🎥 Aparat: nerd_cafearrow-up-right
📌 Pinterest: nerd_cafearrow-up-right
📱 Telegram: @nerd_cafearrow-up-right
📝 Blog: Nerd Café on Virgoolarrow-up-right
💻 GitHub: nerd-cafearrow-up-right
Last updated 5 months ago