Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to single hosted network

Status
Not open for further replies.

leekb

Technical User
Oct 9, 2002
37
0
0
SG
Hello,

I have a couple years of experience integrating multiple networks over Cisco switches and routers. But I have yet to have the chance to deal with single hosted network. Recently I have been given these IP addresses 202.33.33.1/32 and 202.33.33.2/32 for use with two hosts.

* When configuring the IP addresses in the host, is this what one has to do?
IP: 202.33.33.1
Netmasks: 255.255.255.255
Default gateway: ? (pls advise)

* How do I configure these single hosted networks in the routers? Pls kindly provide sample configuration.

Thanks in advance.

LeeKB
 
pc:
IP: 202.33.33.2
Netmasks: 255.255.255.0
Default gateway:202.33.33.2

router:
>en
#config t
#int e0
#ip address 202.33.33.1 255.255.255.0
#no shut
 
Jsteve, you have a typo in your PC config. Default Gateway needs to point to router, not PC itself, so it would be 202.33.33.1

Peter Mesjar
CCNP, A+ certified
pmesjar@centrum.sk

"The only true wisdom is in knowing you know nothing.
 
Thanks guys. What you have described is no different to a /30 subnet having two IP addresses, one for the host and another for the router. I need more info on the significance when somebody gives you a /32 single host address.
 
your right pnesjar
def gateway:202.33.33.1

leekb
to get just 2 addresses you need a mask of .252 (/30). You must remember that you must subtrack 2 address, one for the network .0 and one for broadcast .255.

in your case 202.33.33.0 is your network, 202.33.33.1/30 and 202.33.33.2/30 is your assignable addresses and 202.33.33.3 is your broadcast.
 
32 bit mask means something like you have only one host on this subnet. This is fine on point-to-point links, since on the other side of the connection is just one device. For example in case of PPP protocol, all links configured with this encapsulation are entered into routing tables with masks 32 bits.

Peter Mesjar
CCNP, A+ certified
pmesjar@centrum.sk

"The only true wisdom is in knowing you know nothing.
 
Just after submitting the post:) ... routes with 32 bit mask are also called "host routes"

Peter Mesjar
CCNP, A+ certified
pmesjar@centrum.sk

"The only true wisdom is in knowing you know nothing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top