Mailinglist Archive: opensuse (6210 mails)
| < Previous | Next > |
Re: [SLE] DHCP vs Static IP - SUSE 10.0
- From: Donald D Henson <wepin@xxxxxxxxx>
- Date: Sun, 16 Oct 2005 09:10:44 -0600
- Message-id: <43526D74.4040501@xxxxxxxxx>
Bruce Marshall wrote:
> On Saturday 15 October 2005 06:38 pm, Donald D Henson wrote:
>>I've given up on getting my wireless lan card to work but am now
>>confronted with another networking problem. I'm hoping someone can help.
>>In V9.3, I was able, by some magical process, to assign a fixed IP
>>address for use in my small local network and, at the same time, use
>>DHCP provided by my ISP to go outside my local network to the Internet.
>>I don't seem to be able to "do the magic" under 10.0. I'm either missing
>>a critical step or the system has been changed. Here's my setup:
>>
>>My local network is Ethernet and is implemented with a Linksys router
>>switch. The router switch connects to the cable via a cable modem. I've
>>loaded SUSE 10.0 on a non-critical laptop. The laptop connects to my lan
>>via a PCMCIA 10/100 Ethernet card. (If you need any technical details,
>>let me know.) At this point, everything is hard wired.
>>
>>There are three linux machines, but only one running 10.0, on my lan.
>>Each machine's /etc/hosts file have all three of:
>>
>>192.168.100.10 toshiba.site toshiba
>>192.168.100.20 linux.site linux
>>192.168.100.30 camino.site camino
>>
>>The two 9.3 machine's NICs are configured as DHCP. They can access the
>>Internet and can ping in either direction to/from each other. When
>>toshiba is configured as DHCP, toshiba can access the Internet but
>>cannot ping either of the other machines & vice versa. If I change
>>toshiba to fixed IP addresses, I can ping everything on the local
>>network but cannot access the Internet.
>>
>>If you see any obvious mistakes in there, please let me know. If you
>>have any thoughts on how to proceed, let me know that as well. Any
>>assistance will be sincerely appreciated.
>
> I don't see any obvious mistakes but you are leaving a lot of info out of your
> emails:
>
> 1) If the (non-toshiba machines running 9.3) above are DHCP, why do you know
> for sure what the IP addresses are?
Because I can ping them using either the hostname or the IP address.
> 2) If the machines in (1) are DHCP, I don't think they would have the
> addresses you show.
Concur. But I can still ping them using the static IPs.
> 3) When you change the toshiba to static IP, do you also set a default
> gateway? (that's what gets you to the internet)
I thought I was but route -n shows:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 4) What is the address of your router? (I assume it's 192.168.100.1)
192.168.1.1
> 5) What static address are you giving your toshiba?
192.168.100.10
> 6) When it is DHCP, have you checked route -n to see how the routing
> (gateway) is set up?
See above. It looks like my gateway settings are being ignored. Here's
what route -n shows on linux (V9.3):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Observations?
> etc, etc, etc.....
You'll have to be a bit more specific. :-)
--
Donald D. Henson, Managing Director
West El Paso Information Network
The "Non-Initiation of Force Principle" Rules
> On Saturday 15 October 2005 06:38 pm, Donald D Henson wrote:
>>I've given up on getting my wireless lan card to work but am now
>>confronted with another networking problem. I'm hoping someone can help.
>>In V9.3, I was able, by some magical process, to assign a fixed IP
>>address for use in my small local network and, at the same time, use
>>DHCP provided by my ISP to go outside my local network to the Internet.
>>I don't seem to be able to "do the magic" under 10.0. I'm either missing
>>a critical step or the system has been changed. Here's my setup:
>>
>>My local network is Ethernet and is implemented with a Linksys router
>>switch. The router switch connects to the cable via a cable modem. I've
>>loaded SUSE 10.0 on a non-critical laptop. The laptop connects to my lan
>>via a PCMCIA 10/100 Ethernet card. (If you need any technical details,
>>let me know.) At this point, everything is hard wired.
>>
>>There are three linux machines, but only one running 10.0, on my lan.
>>Each machine's /etc/hosts file have all three of:
>>
>>192.168.100.10 toshiba.site toshiba
>>192.168.100.20 linux.site linux
>>192.168.100.30 camino.site camino
>>
>>The two 9.3 machine's NICs are configured as DHCP. They can access the
>>Internet and can ping in either direction to/from each other. When
>>toshiba is configured as DHCP, toshiba can access the Internet but
>>cannot ping either of the other machines & vice versa. If I change
>>toshiba to fixed IP addresses, I can ping everything on the local
>>network but cannot access the Internet.
>>
>>If you see any obvious mistakes in there, please let me know. If you
>>have any thoughts on how to proceed, let me know that as well. Any
>>assistance will be sincerely appreciated.
>
> I don't see any obvious mistakes but you are leaving a lot of info out of your
> emails:
>
> 1) If the (non-toshiba machines running 9.3) above are DHCP, why do you know
> for sure what the IP addresses are?
Because I can ping them using either the hostname or the IP address.
> 2) If the machines in (1) are DHCP, I don't think they would have the
> addresses you show.
Concur. But I can still ping them using the static IPs.
> 3) When you change the toshiba to static IP, do you also set a default
> gateway? (that's what gets you to the internet)
I thought I was but route -n shows:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 4) What is the address of your router? (I assume it's 192.168.100.1)
192.168.1.1
> 5) What static address are you giving your toshiba?
192.168.100.10
> 6) When it is DHCP, have you checked route -n to see how the routing
> (gateway) is set up?
See above. It looks like my gateway settings are being ignored. Here's
what route -n shows on linux (V9.3):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Observations?
> etc, etc, etc.....
You'll have to be a bit more specific. :-)
--
Donald D. Henson, Managing Director
West El Paso Information Network
The "Non-Initiation of Force Principle" Rules
| < Previous | Next > |