|
|
| Author |
Message |
Alan Guest
|
Posted: Wed Aug 13, 2003 7:30 am Post subject: /24 on one router |
|
|
Here is where I need help...Please!!!
I have a /24 and was trying to set it up to get as many public ip's as I can
behind it.
I have 2 interfaces
E0- connected to another router on a different class c address so I can't
get one of their ip's although this would be my gateway, which i assume they
will give me.
E1- connected to a 2924 catalyst which will have 20 webservers connected
each with at least 5 ip's.
Am I stuck with losing say 128 ip's by subnetting this. If so what would be
the optimal setup for these interfaces.
example--using private although really would be public ip's. I'm sure I
probably have the wrong subnet masks???
E0 ip add 192.168.1.2 255.255.255.128
E1 ip add 192.168.1.129 255.255.255.192
ip route 0.0.0.0 0.0.0.0 Their gateway
ip routing
ip name-server xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Could I use IP Unnumbered and assign it to a loopback? Would this work for
routing to the web servers?
Any suggestions to this would be GREATLY appreciated.. Thanks. |
|
| Back to top |
|
 |
|
|
Darrell Rinehart Guest
|
Posted: Wed Aug 13, 2003 7:34 am Post subject: Re: /24 on one router |
|
|
VLANs. Can save you from subnetting.
Darrell
On Wed, 13 Aug 2003 02:30:23 GMT, "Alan" <ranger32746@yahoo.com>
wrote:
| Quote: | Here is where I need help...Please!!!
I have a /24 and was trying to set it up to get as many public ip's as I can
behind it.
I have 2 interfaces
E0- connected to another router on a different class c address so I can't
get one of their ip's although this would be my gateway, which i assume they
will give me.
E1- connected to a 2924 catalyst which will have 20 webservers connected
each with at least 5 ip's.
Am I stuck with losing say 128 ip's by subnetting this. If so what would be
the optimal setup for these interfaces.
example--using private although really would be public ip's. I'm sure I
probably have the wrong subnet masks???
E0 ip add 192.168.1.2 255.255.255.128
E1 ip add 192.168.1.129 255.255.255.192
ip route 0.0.0.0 0.0.0.0 Their gateway
ip routing
ip name-server xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Could I use IP Unnumbered and assign it to a loopback? Would this work for
routing to the web servers?
Any suggestions to this would be GREATLY appreciated.. Thanks.
|
|
|
| Back to top |
|
 |
Hansang Bae Guest
|
Posted: Wed Aug 13, 2003 8:14 am Post subject: Re: /24 on one router |
|
|
In article <3ph_a.37270$K4.1816675@twister.tampabay.rr.com>, ranger32746
@yahoo.com says...
| Quote: | Here is where I need help...Please!!!
I have a /24 and was trying to set it up to get as many public ip's as I can
behind it.
I have 2 interfaces
E0- connected to another router on a different class c address so I can't
get one of their ip's although this would be my gateway, which i assume they
will give me.
E1- connected to a 2924 catalyst which will have 20 webservers connected
each with at least 5 ip's.
Am I stuck with losing say 128 ip's by subnetting this. If so what would be
the optimal setup for these interfaces.
|
You don't have to use a /25 on both sides. Use a small subnet on one
side and use a larger one on your internal segment where the servers
are. You can even use secondary addressing to maximize the usable IP
addresses on the inside.
--
hsb
"Somehow I imagined this experience would be more rewarding" Calvin
*************** USE ROT13 TO SEE MY EMAIL ADDRESS ****************
********************************************************************
Due to the volume of email that I receive, I may not not be able to
reply to emails sent to my account. Please post a followup instead.
******************************************************************** |
|
| Back to top |
|
 |
Jason Clarke Guest
|
Posted: Wed Aug 13, 2003 8:54 pm Post subject: Re: /24 on one router |
|
|
Alan,
Why not try getting a /30 or /32 assigned to your E0 from your upstream?
Get the /24 routed down your link..
Suggestion from a newbie :)
"Alan" <ranger32746@yahoo.com> wrote in message
news:3ph_a.37270$K4.1816675@twister.tampabay.rr.com...
| Quote: | Here is where I need help...Please!!!
I have a /24 and was trying to set it up to get as many public ip's as I
can
behind it.
I have 2 interfaces |
|
|
| Back to top |
|
 |
Erich Trowbridge Guest
|
Posted: Thu Aug 14, 2003 6:47 pm Post subject: Re: /24 on one router |
|
|
EEK. You need a class or some training.
Your upstream link will be assigned by your provider. you don't need to
put an IP address on the E0 interface yet. You can do it when the provider
gives you the info.
you are using RFC 1918 Addressing, so don't worry about eating up space.
You can always use a new private-class network. (eg 192.168.2/24) Keep
your /24 on E1. Don't subnet. You don't need to.
Erich Trowbridge
ccie 4653
| Quote: | Here is where I need help...Please!!!
I have a /24 and was trying to set it up to get as many public ip's as I can
behind it.
I have 2 interfaces
E0- connected to another router on a different class c address so I can't
get one of their ip's although this would be my gateway, which i assume they
will give me.
E1- connected to a 2924 catalyst which will have 20 webservers connected
each with at least 5 ip's.
Am I stuck with losing say 128 ip's by subnetting this. If so what would be
the optimal setup for these interfaces.
example--using private although really would be public ip's. I'm sure I
probably have the wrong subnet masks???
E0 ip add 192.168.1.2 255.255.255.128
E1 ip add 192.168.1.129 255.255.255.192
ip route 0.0.0.0 0.0.0.0 Their gateway
ip routing
ip name-server xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Could I use IP Unnumbered and assign it to a loopback? Would this work for
routing to the web servers?
Any suggestions to this would be GREATLY appreciated.. Thanks. |
|
|
| Back to top |
|
 |
FireSword Guest
|
Posted: Thu Aug 28, 2003 7:41 am Post subject: Re: /24 on one router |
|
|
You can use NAT
assign one address to E0.
assign a private address to E1 and to your servers.
then do static ip nat for each server.
if you have 20 servers with 5 ip's each, you will still have 154 addresses
to play with
"Alan" <ranger32746@yahoo.com> wrote in message
news:3ph_a.37270$K4.1816675@twister.tampabay.rr.com...
| Quote: | Here is where I need help...Please!!!
I have a /24 and was trying to set it up to get as many public ip's as I
can
behind it.
I have 2 interfaces
E0- connected to another router on a different class c address so I can't
get one of their ip's although this would be my gateway, which i assume
they
will give me.
E1- connected to a 2924 catalyst which will have 20 webservers connected
each with at least 5 ip's.
Am I stuck with losing say 128 ip's by subnetting this. If so what would
be
the optimal setup for these interfaces.
example--using private although really would be public ip's. I'm sure I
probably have the wrong subnet masks???
E0 ip add 192.168.1.2 255.255.255.128
E1 ip add 192.168.1.129 255.255.255.192
ip route 0.0.0.0 0.0.0.0 Their gateway
ip routing
ip name-server xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Could I use IP Unnumbered and assign it to a loopback? Would this work for
routing to the web servers?
Any suggestions to this would be GREATLY appreciated.. Thanks.
|
|
|
| Back to top |
|
 |
|