1 |
On 09/30/10 20:07, Christopher Koeber wrote: |
2 |
> Hello, |
3 |
> |
4 |
> I have a system with two network cards. The cards are configured for |
5 |
> DHCP for two separate networks and they get their respective IP |
6 |
> addresses from the different DCHP servers. |
7 |
> |
8 |
> The problem is that the network access on <I>either</I> network is |
9 |
> sporatic at best. The networks are as follows: |
10 |
> |
11 |
> First, my network config file: |
12 |
> |
13 |
> <B>/etc/conf.d/net</B> |
14 |
> |
15 |
> ----------------------------- |
16 |
> # This blank configuration will automatically use DHCP for any net.* |
17 |
> # scripts in /etc/init.d. To create a more complete configuration, |
18 |
> # please review /etc/conf.d/net.example and save your configuration |
19 |
> # in /etc/conf.d/net (this file :]!). |
20 |
> config_eth0=( "dhcp" ) |
21 |
> dhcpcd_eth0="-N" |
22 |
> config_eth1=( "dhcp" ) |
23 |
> dhcpcd_eth1="-N" |
24 |
> ----------------------------- |
25 |
> |
26 |
> |
27 |
> <B>ETH0:</B> |
28 |
> This is on a Gigabit network and I rarely, if ever, get access on this |
29 |
> network. This is an add-in card that I added after the initial installation. |
30 |
> |
31 |
> Here is the ifconfig of eth0 |
32 |
> ----------------------------- |
33 |
> eth0 Link encap:Ethernet HWaddr 00:26:f2:ac:c9:df |
34 |
> inet addr:10.10.50.68 Bcast:10.10.50.255 Mask:255.255.255.0 |
35 |
> inet6 addr: fe80::226:f2ff:feac:c9df/64 Scope:Link |
36 |
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
37 |
> RX packets:69584 errors:0 dropped:492 overruns:0 frame:0 |
38 |
> TX packets:2291 errors:0 dropped:0 overruns:0 carrier:0 |
39 |
> collisions:0 txqueuelen:1000 |
40 |
> RX bytes:5631144 (5.3 MiB) TX bytes:237966 (232.3 KiB) |
41 |
> Interrupt:23 Base address:0xc000 |
42 |
> ----------------------------- |
43 |
> |
44 |
> <B>ETH1:</B> |
45 |
> This is on a 10/100 network and I get access sporatically on this |
46 |
> network. This card is a built-in card. |
47 |
> |
48 |
> Here is the ifconfig of eth1 |
49 |
> ----------------------------- |
50 |
> eth1 Link encap:Ethernet HWaddr 00:b0:d0:fc:51:c7 |
51 |
> inet addr:10.60.1.1 Bcast:10.60.255.255 Mask:255.255.0.0 |
52 |
> inet6 addr: fe80::2b0:d0ff:fefc:51c7/64 Scope:Link |
53 |
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
54 |
> RX packets:640794 errors:0 dropped:0 overruns:0 frame:0 |
55 |
> TX packets:57388 errors:2 dropped:0 overruns:0 carrier:2 |
56 |
> collisions:0 txqueuelen:1000 |
57 |
> RX bytes:63730861 (60.7 MiB) TX bytes:17820579 (16.9 MiB) |
58 |
> ----------------------------- |
59 |
> |
60 |
> Now, both networks neet to be operational as I would like for the system |
61 |
> itself to be able to contact both networks and run services for each |
62 |
> network. However, the networks will NOT be bridged by the server in |
63 |
> question. |
64 |
> |
65 |
> When i originally set up the system everything worked fine. |
66 |
> |
67 |
> What do I need to do to make sure the system communicates to the |
68 |
> networks in question? |
69 |
> |
70 |
> Thank you for your time. |
71 |
|
72 |
Christopher, it would be helpful to see your network stack information. |
73 |
What does "netstat -nr" tell you? Are you getting two default gateways? |
74 |
That's a good way to get bad behaviour. |