Networking Forums

Networking Forums > Computer Networking > Linux Networking > strange network setup of my provider dhcp???

Reply
Thread Tools Display Modes

strange network setup of my provider dhcp???

 
 
hakim
Guest
Posts: n/a

 
      08-10-2005, 05:53 PM
Hi,

I have rent a server of a provider. That system gets its ip over dhcp.
Actually I want it statically.

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:ED:2E:A6:3B
inet addr:117.160.111.9 Bcast:117.160.111.9
Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:434421 errors:0 dropped:0 overruns:0 frame:0
TX packets:347860 errors:0 dropped:0 overruns:3 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45579714 (43.4 MiB) TX bytes:52693898 (50.2 MiB)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
10.255.255.1 0.0.0.0 255.255.255.255 UH 0 0 0
eth0
0.0.0.0 10.255.255.1 0.0.0.0 UG 0 0 0
eth0

After I have checked the server with ifconfig and route -n I saw the
strange network setup.

Netmask is 255.255.255.255 ?
IP is 117.160.111.9
Gatway is 10.255.255.1 ???? what's that ????

Any Hints? How can my server find the gateway??? The gateway address is
the original address. The IP-address is changed at the first number.
Originally it was two hundred something and I have changed it here to
117. But how can my server reach that router from a 100 or two hundred
network to a 10 network????

I can't configure the ip statically with that gateway... How I can or
why I can't use statically but dynamic IP-Addresses???

Thanks

Achim

 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      08-11-2005, 03:44 AM
On 10 Aug 2005 10:53:28 -0700, hakim
<(E-Mail Removed)> wrote:
> Hi,
>
> I have rent a server of a provider. That system gets its ip over dhcp.
> Actually I want it statically.
>

Ask the provider for a static IP address, but be prepared to pay more.

>
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 10.255.255.1 0.0.0.0 255.255.255.255 UH 0 0 0
> eth0
> 0.0.0.0 10.255.255.1 0.0.0.0 UG 0 0 0
> eth0
>
> After I have checked the server with ifconfig and route -n I saw the
> strange network setup.
>
> Netmask is 255.255.255.255 ?
> IP is 117.160.111.9
> Gatway is 10.255.255.1 ???? what's that ????
>
> Any Hints? How can my server find the gateway??? The gateway address is
> the original address. The IP-address is changed at the first number.
> Originally it was two hundred something and I have changed it here to
> 117. But how can my server reach that router from a 100 or two hundred
> network to a 10 network????
>

You have shown the "route -n" output, which says that you have a route
to 10.255.255.1. Can you ping that address?


--
"Bush has behaved like a caricature of what a right-wing president is
supposed to be, and his continuation in office will discredit any sort
of conservatism for generations."
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      08-11-2005, 07:14 AM
On 10 Aug 2005 10:53:28 -0700, hakim <(E-Mail Removed)> wrote:
> Hi,
>
> I have rent a server of a provider. That system gets its ip over dhcp.
> Actually I want it statically.
>
> # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:20:ED:2E:A6:3B
> inet addr:117.160.111.9 Bcast:117.160.111.9
> Mask:255.255.255.255
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:434421 errors:0 dropped:0 overruns:0 frame:0
> TX packets:347860 errors:0 dropped:0 overruns:3 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:45579714 (43.4 MiB) TX bytes:52693898 (50.2 MiB)
> Interrupt:11
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
>
> # route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 10.255.255.1 0.0.0.0 255.255.255.255 UH 0 0 0
> eth0
> 0.0.0.0 10.255.255.1 0.0.0.0 UG 0 0 0
> eth0
>
> After I have checked the server with ifconfig and route -n I saw the
> strange network setup.
>
> Netmask is 255.255.255.255 ?
> IP is 117.160.111.9
> Gatway is 10.255.255.1 ???? what's that ????


The /32 netmask is quite common for ppp and pppoe. There is nothing that
says the gateway has to be same network range, as long as there is a host
route to it (which is automatic with ppp, but not with ethernet). In this
case it it likely so they can preserve public IPs for use where necessary
for public routing.

> Any Hints? How can my server find the gateway??? The gateway address is
> the original address. The IP-address is changed at the first number.
> Originally it was two hundred something and I have changed it here to
> 117. But how can my server reach that router from a 100 or two hundred
> network to a 10 network????


You already found the current gateway. But if you are supposed to use
DHCP that or your IP could change any time DHCP lease expires.

> I can't configure the ip statically with that gateway... How I can or
> why I can't use statically but dynamic IP-Addresses???


You should not assign a static IP on a network that uses DHCP without the
approval of the network administrator, otherwise you might cause IP
conflicts, or rejection by your ISP's router.

You certainly could configure a nic with 255.255.255.255 netmask. You
just need to add the -host route to gateway IP before you assign it as
gateway. But you should not unless you get authorization.
 
Reply With Quote
 
hakim
Guest
Posts: n/a

 
      08-11-2005, 09:14 AM
Hi,

I can ping that address. The connection to the internet works fine. I
am just surprised about that type of setup...

Thanks...

 
Reply With Quote
 
hakim
Guest
Posts: n/a

 
      08-11-2005, 09:20 AM
Hi,

My provider told that I could configure the network statically. The
address could change once, but he said that in general it does not
change, but it could!

Then I missed the route -host...

I will ask the provider for an official statical address or ask him
again if I should set up the network with the settings of the
dhcp-server.

thanks a lot.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very strange DHCP Issue... John Riddle Windows Networking 5 10-19-2007 03:23 PM
strange dhcp dmitry tarakanov Windows Networking 0 12-10-2006 01:39 PM
Strange DHCP Issue CYACOMINI (ILG) Windows Networking 1 11-17-2005 02:56 PM
Strange DHCP Problems J3r3myS Windows Networking 3 09-20-2005 04:21 PM
Strange DHCP issue CHS IT Windows Networking 1 07-19-2005 02:09 PM



1 2 3 4 5 6 7 8 9 10 11