Hi Jay:
If I have now only eth0 active the internet connection works. However, if I activate eth1 (LAN NIC) it does not anymore.
The settings for eth1 are:
IP: 10.0.0.1 Mask: 255.0.0.0 Gateway: 10.0.0.50
The only other PC on the LAN has IP 10.0.0.50
With FC1 it all worked perfectly. Neither did I have to worry about entering a gateway for eth0. I wonder what is wrong.
Thanks for your help.
Enrico --- Jay Scherrer jay@scherrer.com ha scritto:
Enrico,
Nope thats the fix. And if you got the net working :-)
Happy Holidays, Jay
On Tuesday 07 December 2004 05:34 pm, you wrote:
An update:
For some reason DHCP in FC3, unlike FC1, is not
able
to assign a correct gateway to eth0.
I booted up in Knoppix which also has no problem
to
configure eth0 with DHCP. Poking around in /etc
of
Knoppix I found out which gateway was given to
eth0.
Rebooted in FC3 and added
"GATEWAY=xxx.xxx.xxx.xxx"
(of course the correct numbers) to /etc/sysconfig/network-scripts/ifcfg-eth0
This is most likely a hack and not a fix. But at least now I can connect to the internet.
Any suggestions for a real fix?
Thanks!
Enrico
-- Enrico Indiogine sindiogine@yahoo.it ha
scritto:
Hi Jay!
- My cable modem is not a router. It is
connnected
to eth0. It is a model that is supposed to work with only 1 PC as far as I can tell.
- I have no idea on how to log into my cable
modem.
With FC1 I had absolutely no problems. I just
had
configured eth0 to use DHCP.
- I will try to set the eth0 gateway to
68.187.12.0
and see what happens.
Thanks for your help.
Enrico
--- Jay Scherrer jay@scherrer.com ha scritto:
Make your Gateway to your (68.187.12.0) if its
a
fixed addess otherwise Assign a lan address to your to your
cable
modem and have that as your gatway. Mine is like so if I'm running a DHCP ISP: /etc/hosts 192.1681.1 myCableModem (the gateway) 192.168.1.110 mylinuxBox1 192.168.1.150 myOtherLinuxbox
The Cable modem is probably running as a
router
also
isn't it? Have logged into the cable modem? If you do make sure you change your password
from
the default :-)
Jay Scherrer
On Tuesday 07 December 2004 06:58 am, you
wrote:
Hi Jay!
Your observation makes sense. If I do a
"netstat
-rn"
with both eth0 (-> cable modem) and eth1 (->
LAN
)
activated, I see that the default gateway is
10.0.0.1.
When I run "ifdown eth1" which will
inactivate
the
LAN
NIC and run "netstat -rn" again I get this:
destination: 68.187.12.0 gateway: 0.0.0.0 genmask: 255.255.252.0 flags: U MSS: 0 Window: 0 irtt: 0 Iface: eth0
I can ping the inet address assigned to eth0
by
DHCP
and can also ping 0.0.0.0. However, when I
ping
the
ip address of one of the DNS servers (from /etc/resolv.conf) I get:
Connect: Network is unreachable
Same with any other IP on the outside.
When I check the timestamp of
/etc/resolv.conf
it
is
equal to the PCs startup time. So, the
cable
modem is
able to (re)recreate /etc/resolv.conf each
time.
What should the default gateway to my cable
modem
be
(0.0.0.0 seems not to be correct) and where
do I
configure it?
Thanks! Enrico
--- Jay Scherrer jay@scherrer.com ha
scritto:
How about your GATEWAY were is it
pointing?
Sometimes I get a slow net or no net at
all by
mixing up my Gateway's between eth0 and eth1. Which ever eth is
pointing to
your DSL is the GATEWAY.
Nuovo Yahoo! Messenger: E' molto più
divertente:
Audibles, Avatar,
Webcam, Giochi, Rubrica Scaricalo ora! http://it.messenger.yahoo.it
Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
Scaricalo
=== message truncated ===
___________________________________ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica Scaricalo ora! http://it.messenger.yahoo.it