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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Routing a subnet 1

Status
Not open for further replies.

myhanp

IS-IT--Management
Jul 26, 2006
8
A2
Dear All,

I have the following scenario and if possible need suggestions on the routing of it:

My network layout:

Internet <--->Router <-->Switch(unmanaged)<--->AP Wireless <----> Clients

Now i have /24 Public IPs for internal clients ( on wireless nodes).

The ip of my router is 192.168.10.1 ( changed the ip address)

Requirement:

Now i want to assign /28 of public IPs to one of my clients so how should configure the router in order to enable the routing of that subnet ?


Appreciate any suggestions ?


Cheers,

-Aslam
 
Setup a static private IP (192.168.10.x) for your single client that you want the /28 routed to. Then on your router, setup a static route to route the /28 to your private static IP you assigned to your 1 client.


Rainman1976
 
>Setup a static private IP (192.168.10.x) for your single >client that you want the /28 routed to.

Pardon me if i am not getting your point , my client want to assing a routable IPs to his servers in their own facility. that is the reason they are asking for routable IPs, they are already using internet through private IPs as they just requested to have their mail , DNS and Web Server in house due to which they require public IPs.
 
I'd consider a DMZ hanging off a firewall for this proposal. But in the absence of such a device and assuming your router only has one LAN port to the unmanaged switch, just multihome the router with one of the /28 public IPs.
 
>But in the absence of such a device and assuming your router >only has one LAN port to the unmanaged switch,

the router has one LAN port to unmanaged switch

>just multihome >the router with one of the /28 public IPs.

How to multihome it, could you give me a sample config for it ?

Thanks,

-Aslam
 
If you don't use VLANs on your local network, just do something as follows:

int f0/0
description *LAN port*
ip address 192.168.10.1 255.255.255.0
ip address a.b.c.d 255.255.255.240 secondary

OR, if you using VLANs,

int f0/0
description *LAN port*
no ip address
int f0/0.1
ip address 192.168.10.1 255.255.255.0
encapsulation dot1q 1
int f0/0.2
ip address a.b.c.d 255.255.255.240 secondary
encapsulation dot1q 2

where a.b.c.d is the public IP for the router and, in the example above, Im using VLANs 1 and 2 for the private and public subnets
 
what kiscokid has shown is correct...
just make sure your client points his server to the correct gateway address which will be the address that youve set up as your secondary on your router.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top