Web Hosting Talk







View Full Version : Default Gateway


ZYE
03-20-2002, 10:09 AM
Just curious - a friend of mine Protector330 ordered the 1 Ghz server without webinterface. ( Webmin installed )

he was told that he has 20 assigned IP adresses.

from xxx.xx.139.96 till xxx.xx.139.115

OK fine so far..

Now we tried to setup the other IP adresses because only 1 was active - listening DNS, www,ssh thats the xxx.xx.139.98.

We did a route - heres the output:

route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.xx.139.96 * 255.255.255.248 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default xxx.xxx.139.97 0.0.0.0 UG 0 0 0 eth0

Now we are not TCP specialists but maybe we are wrong about this the default gateway shouldnīt it be the router ?


Ifconfig output:

eth0 Link encap:Ethernet HWaddr 00:01:80:0F:C1:4A
inet addr:xxx.xx.139.98 Bcast:xxx.xx.139.103 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1



Is this correct? any help apprechiated..

zupanm
03-20-2002, 10:21 AM
ya that doesn't seem correct. Also giving a block of 20 ips is a big odd too. Try to put your first ip with your ethernet card, the 96?

if you just do a ifconfig eth0 ip linux is now "smart" enough to auto config your netmask and bcast and also your routing tables.

ZYE
03-20-2002, 10:42 AM
Would you pay for having a "running" server like this - since ordering 10 days gone.

Protector330 has come to me wining cause his server is not working the way it should :cool:

Now we sit 6 hours with no reply from trouble ticket

i think this is the responsibilty from tranxglobal.com donīt you think?:smash:

i did ifconfig eth0 xxx.xx.xxx.xx on my lokal machine - great everything died thank good i didnīt do it on the servern (though its a 166Mhz RH7.2 but this should not happend)
:kaioken:

allan
03-20-2002, 11:01 AM
Originally posted by ZYE

route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.xx.139.96 * 255.255.255.248 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default xxx.xxx.139.97 0.0.0.0 UG 0 0 0 eth0

Now we are not TCP specialists but maybe we are wrong about this the default gateway shouldnīt it be the router ?


Ifconfig output:

eth0 Link encap:Ethernet HWaddr 00:01:80:0F:C1:4A
inet addr:xxx.xx.139.98 Bcast:xxx.xx.139.103 Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1


It depends on how the IPs were assigned. Based on your ifcongif output, you have been assigned a /29, 8 IP Addresses, which would xxx.xxx.139.96-104. .96 and .104 would be unusable, and if they are subnetting their IP blocks (which would make sense), then they probably pulled .97 as the gateway and bound it to your router.

This would jibe with what is being shown in your route table as well.

What it means is that you were only allocated 8 IPs (5 usable), instead of 20, but the configuration based on an 8-IP netblock looks correct.

ZYE
03-20-2002, 11:02 AM
just got an answer to your troubleticket - now it works