I don't believe my network is configured properly, but I've tried everything I can think of to fix it. "ifconfig" says the following about eth0: inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.255 The netmask should be 255.255.255.0. Under YaST2, eth0 is shown to have static address setup with an address of 192.168.1.5 and a subnet mask of 255.255.255.0. Under "routing", I can only specify the gateway address (which is correctly specified), but I cannot specify a correct subnet mask. As of now, weird things are happening on my system. For example, I'm unable to get cups to work. Other little weird network things don't work. For example, to get samba to work, I had to override the system network settings in the configuration file to specify the correct subnet mask. I've tried manually overriding with ifconfig and other CLI tools. However, my Internet access (and all network access) stops when I do that. It's only when I go back to YaST2 that I regain that access, but then ifconfig reports the incorrect netmask as described above. How do I resolve the apparent disagreement as to my subnet mask? Many thanks for any help. Best regards, Jim -- James D. Ivey <jim@iveylaw.com> Law Offices of James D. Ivey This e-mail address is heavily spammed and heavily filtered. It's better to reach me through my web site: http://www.iveylaw.com
On Monday 03 May 2004 22:35 pm, James D. Ivey wrote:
I don't believe my network is configured properly, but I've tried everything I can think of to fix it.
"ifconfig" says the following about eth0: inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.255
The netmask should be 255.255.255.0.
Indeed it should
Under YaST2, eth0 is shown to have static address setup with an address of 192.168.1.5 and a subnet mask of 255.255.255.0. Under "routing", I can only specify the gateway address (which is correctly specified), but I cannot specify a correct subnet mask.
<SNIP>
I've tried manually overriding with ifconfig and other CLI tools. However, my Internet access (and all network access) stops when I do that. It's only when I go back to YaST2 that I regain that access, but then ifconfig reports the incorrect netmask as described above.
How are you connecting to the internet? Dylan -- "I see your Schwartz is as big as mine" -Dark Helmet
Thanks for the prompt reply! On Mon, 2004-05-03 at 14:50, Dylan wrote:
On Monday 03 May 2004 22:35 pm, James D. Ivey wrote:
I don't believe my network is configured properly, but I've tried everything I can think of to fix it.
"ifconfig" says the following about eth0: inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.255
The netmask should be 255.255.255.0.
Indeed it should
Under YaST2, eth0 is shown to have static address setup with an address of 192.168.1.5 and a subnet mask of 255.255.255.0. Under "routing", I can only specify the gateway address (which is correctly specified), but I cannot specify a correct subnet mask.
<SNIP>
I've tried manually overriding with ifconfig and other CLI tools. However, my Internet access (and all network access) stops when I do that. It's only when I go back to YaST2 that I regain that access, but then ifconfig reports the incorrect netmask as described above.
How are you connecting to the internet?
The short answer is "the regular way." My assumption is that the mask of 255.255.255.255 works because it sends all addresses to any other computer through the gateway. However, I can't see my other local addresses -- hence, cups doesn't work with my network-attached printer and I had to override the subnet mask in smb.conf to get samba to work. But once I try to correct the problem with "ifconfig" or manually editing configuration files, I lose Internet access but can "see" my other local devices. Only YaST2 gets me back on the 'net. This problem was "out of the box" so I find it hard to imagine I'm the first to experience this. Oh yeah, it's Suse 9.0 Personal with Ximian gnome XD2. Thanks again! -- James D. Ivey <jim@iveylaw.com> Law Offices of James D. Ivey This e-mail address is heavily spammed and heavily filtered. It's better to reach me through my web site: http://www.iveylaw.com
On Monday 03 May 2004 11:08 pm, James D. Ivey wrote:
Thanks for the prompt reply!
On Mon, 2004-05-03 at 14:50, Dylan wrote:
On Monday 03 May 2004 22:35 pm, James D. Ivey wrote:
I don't believe my network is configured properly, but I've tried everything I can think of to fix it.
"ifconfig" says the following about eth0: inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.255
The netmask should be 255.255.255.0.
Indeed it should
Under YaST2, eth0 is shown to have static address setup with an address of 192.168.1.5 and a subnet mask of 255.255.255.0. Under "routing", I can only specify the gateway address (which is correctly specified), but I cannot specify a correct subnet mask.
<SNIP>
I've tried manually overriding with ifconfig and other CLI tools. However, my Internet access (and all network access) stops when I do that. It's only when I go back to YaST2 that I regain that access, but then ifconfig reports the incorrect netmask as described above.
How are you connecting to the internet?
The short answer is "the regular way."
<snip> Which regular way? You have an eth0, which suggests 2 possible regular ways.
On Mon, 2004-05-03 at 23:08, Vince Littler wrote:
On Monday 03 May 2004 11:08 pm, James D. Ivey wrote:
Thanks for the prompt reply!
On Mon, 2004-05-03 at 14:50, Dylan wrote:
On Monday 03 May 2004 22:35 pm, James D. Ivey wrote:
I don't believe my network is configured properly, but I've tried everything I can think of to fix it.
"ifconfig" says the following about eth0: inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.255
The netmask should be 255.255.255.0.
Indeed it should
Under YaST2, eth0 is shown to have static address setup with an address of 192.168.1.5 and a subnet mask of 255.255.255.0. Under "routing", I can only specify the gateway address (which is correctly specified), but I cannot specify a correct subnet mask.
<SNIP>
I've tried manually overriding with ifconfig and other CLI tools. However, my Internet access (and all network access) stops when I do that. It's only when I go back to YaST2 that I regain that access, but then ifconfig reports the incorrect netmask as described above.
How are you connecting to the internet?
The short answer is "the regular way."
<snip>
Which regular way? You have an eth0, which suggests 2 possible regular ways.
I'm not sure I understand the question. Hardware-wise, I have a switch coupled to a router coupled to a DSL modem coupled to the Internet through SBC. The router's IP is correctly shown in "route" as the gateway. The genmask is the same 255.255.255.255. Should be 255.255.255.0. YaST2 always resets it to 255.255.255.255. Software-wise, I just open MozillaFirebird and everything just shows up on my screen. Does that help? Again, thanks so much for any help. -- James D. Ivey <jim@iveylaw.com> Law Offices of James D. Ivey This e-mail address is heavily spammed and heavily filtered. It's better to reach me through my web site: http://www.iveylaw.com
On Tuesday 04 May 2004 17.15, James D. Ivey wrote:
I'm not sure I understand the question. Hardware-wise, I have a switch coupled to a router coupled to a DSL modem coupled to the Internet through SBC. The router's IP is correctly shown in "route" as the gateway. The genmask is the same 255.255.255.255. Should be 255.255.255.0.
Actually, the genmask for the default gateway should be 0.0.0.0 What do the scripts say in /etc/sysconfig/network?
Thanks for all the help so far. Here are some more tidbits... On Tue, 2004-05-04 at 08:38, Anders Johansson wrote:
On Tuesday 04 May 2004 17.15, James D. Ivey wrote:
I'm not sure I understand the question. Hardware-wise, I have a switch coupled to a router coupled to a DSL modem coupled to the Internet through SBC. The router's IP is correctly shown in "route" as the gateway. The genmask is the same 255.255.255.255. Should be 255.255.255.0.
Actually, the genmask for the default gateway should be 0.0.0.0
What do the scripts say in /etc/sysconfig/network?
linux1:/home/jim # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface router.localnet * 255.255.255.255 UH 0 0 0 eth0 default router.localnet 0.0.0.0 UG 0 0 0 eth0 linux1:/etc/sysconfig/network # cat routes # Destination Dummy/Gateway Netmask Device # default 192.168.1.19 - - /etc/sysconfig/network/ifconfig-eth0 is shown below.... On Tue, 2004-05-04 at 08:31, Brad Shelton wrote:
How do you get your IP address? DHCP, or static?
Static. This machine serves DHCP to the rest of the network (or at least the parts that need it). On Tue, 2004-05-04 at 08:41, Pieter Hulshoff wrote:
On Monday 03 May 2004 23:35, James D. Ivey wrote:
"ifconfig" says the following about eth0: inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.255
What is the netmask defined in /etc/sysconfig/network/ifcfg-eth0? If it's incorrect there, you could try a manual edit of the file, and then a restart of your network.
linux1:/etc/sysconfig/network # cat ifcfg-eth0 BOOTPROTO='static' BROADCAST='192.168.1.255' IPADDR='192.168.1.5' MTU='' NETMASK='255.255.255.0' NETWORK='192.168.1.0' REMOTE_IPADDR='192.168.1.19' STARTMODE='onboot' UNIQUE=<don't really need to know that, do you?> Again, thanks so much to everyone looking into this. Best regards, Jim -- James D. Ivey <jim@iveylaw.com> Law Offices of James D. Ivey This e-mail address is heavily spammed and heavily filtered. It's better to reach me through my web site: http://www.iveylaw.com
That might be it. I googled around to see what that parameter defines, and -- while I couldn't find a definition -- all examples of ifcfg-eth0 files had that parameter blank. Let me try that and see if it works.... Looks good so far... (looking at ifconfig and route). I believe that did it! Many thanks! What is a PtP connection, btw? Thanks again! Jim On Tue, 2004-05-04 at 09:43, Anders Johansson wrote:
On Tuesday 04 May 2004 18.26, James D. Ivey wrote:
REMOTE_IPADDR='192.168.1.19'
This is the reason you have the 255.255.255.255 netmask to the router. It sets up a PtP connection. Are you really using that? -- James D. Ivey <jim@iveylaw.com> Law Offices of James D. Ivey
This e-mail address is heavily spammed and heavily filtered. It's better to reach me through my web site: http://www.iveylaw.com
On Tuesday 04 May 2004 19.45, James D. Ivey wrote:
What is a PtP connection, btw?
It's a connection between two single machines (point to point) as opposed to most routing rules which connects networks, or single machines to networks. It can be used for a number of things, with the point to point protocol daemon pppd (usually dialup connections), but also certain types of DSL uses some form of point-to-point to connect through the DSL modem. Another use is in VPN.
On Monday 03 May 2004 23:35, James D. Ivey wrote:
"ifconfig" says the following about eth0: inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.255
What is the netmask defined in /etc/sysconfig/network/ifcfg-eth0? If it's incorrect there, you could try a manual edit of the file, and then a restart of your network. Regards, Pieter Hulshoff
participants (5)
-
Anders Johansson
-
Dylan
-
James D. Ivey
-
Pieter Hulshoff
-
Vince Littler