[Please use an appropriate subject ; this one ended up in my "junk" mbox]
I'm no network guru, but I'll have a go anyway. Please apply adequate
amounts of salt before digestion...
On Tue, May 07, 2002 at 09:07:11AM +1000, Nick wrote:
> I have a connection with 32 IP's
Which range of IPs have you got? (feel free to omit the first 2 bytes if
you need to keep them somewhat private).
> Running Debian 2.2
>
> Some info:
> Gateway 210.15.251.133
> end user IP 210.15.251.133
> Netmask 255.255.255.224
>
>
> eth1 is the adapter setup.
> An extract of my network file.
>
> /sbin/ifconfig eth1 210.15.251.134 broadcast 210.15.251.164 netmask
> 255.255.255.224
>
> /sbin/ifconfig eth1:2 210.15.251.160 netmask 255.255.255.224 broadcast
> 210.15.251.164
>
> I want to make 210.15.251.160 accessible to the out side world.
> ATM i can ping 210.15.251.160 from the same box, but it is not visible to
> the outside.
Binary representations of the addresses above:
eth1: addr: 11010010.00001111.11111011.10000110
mask: 11111111.11111111.11111111.11100000
bcast: 11010010.00001111.11111011.10100100
Oddly enough, your broadcast address is not on the same subnet!? With
that ip address and netmask, a broadcast address of .159 would have be
more usual. Are you sure that broadcast is working properly on eth0?
(I'm not sure it's a problem though...)
eth1:2 addr: 11010010.00001111.11111011.10100000
mask: 11111111.11111111.11111111.11100000
bcast: 11010010.00001111.11111011.10100100
[You have eth1 and eth:2; what happened to eth1:1 ? Just curious]
At least here the broadcast address is in the same subnet as the IP
address. [But again .159 would have been more usual]
Oddly enough, eth1:2 is on a different subnet than eth1. Is that
intentional?
> Have I made an error or is it not routed properly from my isp ?
Looking at the numbers above, I would *guess* that you have been
allocated 210.15.251.224 ... 210.15.251.255 ? Is that correct? If that
is not your IP range, I wouldn't expect the ISP to route it to you...
For starters, I would double-check the IP addresses/netmasks with your
ISP; if you have gotten any of them wrong, all bets are off...
--
Karl E. Jørgensen
karl@jorgensen.com
www.karl.jorgensen.com
... An rfc2324 advocate
http://www.rfc.net/rfc2324.html
Attachment:
pgpD4NYCEEd4u.pgp
Description: PGP signature