View previous topic :: View next topic |
Author |
Message |
wingus n00b
Joined: 20 Sep 2002 Posts: 3
|
Posted: Fri Sep 20, 2002 8:51 pm Post subject: Problem with network in install |
|
|
I'm attempting to install Gentoo 1.2 via CD on a machine with 2 ethernet interfaces, to use as a NAT (IPMASQUERADE) box (connected to my cable modem). I am having difficulty with my network connectivity, though. Here is the situation:
There is an on-board etherexpress pro 100 (module: eepro100), and a PCI netgear (module: natsemi). The cable modem is connected to the natsemi card, which comes up as eth1 when the module loads. (Both modules, incidentally, load without obvious problems.) A simple
dhcpcd eth1
times out, but
dhcpcd -B
returns almost immediately, and seems to configure everything correctly: for example, the /etc/resolv.conf file is correctly filled out. The output from ifconfig at this point is (note that eth0 was configured manually):
eth0 Link encap:Ethernet HWaddr 00:E0:18:90:1A:4E
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:122 errors:0 dropped:0 overruns:0 frame:0
TX packets:170 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:18687 (18.2 kb) TX bytes:16010 (15.6 kb)
Interrupt:10 Base address:0x9000
eth1 Link encap:Ethernet HWaddr 00:02:E3:1C:E3:AE
inet addr:24.91.225.63 Bcast:255.255.255.255 Mask:255.255.248.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1386 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:86560 (84.5 kb) TX bytes:5175 (5.0 kb)
Interrupt:10
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:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:95 (95.0 b) TX bytes:95 (95.0 b)
Note that eth0 is the internal interface, and it can talk to a local machine. However, even if I don't set eth0 up, the eth1 entry remains identical, as does the apparent success of dhcpcd. However, upon trying to access the Internet, I get timeouts. Actually, host name lookups fail -- my dns servers are not reachable (via ping). In fact, I can't even ping my gateway!
I'm at a mild loss as to what to do. I know that the hardware works, because I have a FreeBSD partition on the machine set up to do the NAT (which uses isc-dhcp's dhclient), and it works like a charm.
I've tried not auto-loading the modules at boot time, and only loading the natsemi module. I've tried forcing the natsemi module to use 10Mbps half duplex. I've tried various combinations of the -r, -h, -H, and -D flags for dhcpcd, all to no avail. Any suggestions?
(By the way, what in the world does NOTRAILERS mean? I've hunted through google, etc, but to no avail...)
Thanks in advance for help or suggestions! |
|
Back to top |
|
|
BloodShed n00b
Joined: 17 Oct 2002 Posts: 14 Location: Orlando, FL
|
Posted: Thu Oct 17, 2002 8:30 am Post subject: |
|
|
Hmmm, no replies. This is exactly the same problem I have. I am installing Gentoo on a machine I'm using as a local network server\router for DNS, DHCP, NAT, etc. I have two network cards installed (one for my internal network on a hub and one connected to my cable modem).
I setup eth0 (external\cable modem connection) with DHCP and eth1 (internal network) with a static IP of 192.168.0.1, broadcasting 192.168.0.255, subnet 255.255.255.0 and no DNS or Gateway. Everything works fine and I can connect to the Internet... EXCEPT that DNS resolutions will not work.
For right now I'm just resolving DNS names on another machine and using the IP in Gentoo. |
|
Back to top |
|
|
BloodShed n00b
Joined: 17 Oct 2002 Posts: 14 Location: Orlando, FL
|
Posted: Thu Oct 17, 2002 8:59 am Post subject: Nevermind |
|
|
Well actually, it seems that the problem is fixed by manually running the DHCP client daemon. I ran net-setup to configure my network settings but after killing the dhcpcd process and restarting it manually with "dhcpcd eth0", it grabs my ISP's DNS servers properly and everything works.
Perhaps it's just a bug in net-setup? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|