1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
one interface in multiwan is always OFFLINE
(1 viewing) 1 Guest
Go to bottomPage: 12
TOPIC: one interface in multiwan is always OFFLINE
#43070
Re:one interface in multiwan is always OFFLINE 11 Months ago  
It is not exactly what I'd have done but it achieves pretty much the same. I would not have bothered changing the Router and Modem DNS servers and I'd have manually configured ClearOS.

Perhaps we should check your NIC set up. Assuming you are on 5.2 and not 6.x, please post the results to:
Code:

lspci -v | grep Eth
grep eth /etc/modprobe.conf
uname -r

If you're on 6.x, please do:
Code:

yum install -y pciutils
lspci -v | grep Eth
ethtool -i eth0
ethtool -i eth1
ethtool -i eth2
uname -r

Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/06/27 17:02 By NickH.
The administrator has disabled public write access.
 
#43071
Re:one interface in multiwan is always OFFLINE 11 Months ago  
thanks for the quick reply!

I am on 5.2. This are the results:

[root@server ~]# lspci -v | grep Eth
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet
01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet

[root@server ~]# grep eth /etc/modprobe.conf
alias eth0 forcedeth
alias eth2 r8169

[root@server ~]# uname -r
2.6.18-194.8.1.v5
Charlemagnus
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43073
Re:one interface in multiwan is always OFFLINE 11 Months ago  
/etc/modprobe.conf is missing a line. Please add
Code:

alias eth1 r8169

For neatness I'd so it above the eth2 line. As you have two interfaces of the same type please add a line to /etc/sysconfig/network-scripts/ifcfg-eth1 and /etc/sysconfig/network-scripts/ifcfg-eth2 with the NIC's MAC in the form:
Code:

HWADDR="aa:bb:cc:dd:ee:ff"

You can get the NIC's MAC address from
Code:

ifconfig | grep HWa

Then you could try:
Code:

ifdown eth1 && ifup eth1
ifdown eth2 && ifup eth2

or reboot.

I don't have a lot of hope with this one.

BTW, Have you thought of switching eth1 to PPPoE and putting the modem in bridge mode? Again, it probably won't help, but it will give you a public IP on eth1.
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43074
Re:one interface in multiwan is always OFFLINE 11 Months ago  
OK, this is what I did:

1. added the line to modprobe.conf, BTW, is it ok that eth1 and eth2 have the same alias?

2. the ifcfg-eth1 and ifcfg-eth2 already had MAC information. This are the files (in case you see something suspicious):

DEVICE=eth1
TYPE="Ethernet"
ONBOOT="yes"
USERCTL="no"
HWADDR="b0:48:7a:83:21:e4"
BOOTPROTO="dhcp"
DHCP_HOSTNAME="10.10.0.1"
PEERDNS="yes"

DEVICE=eth2
TYPE="Ethernet"
ONBOOT="yes"
USERCTL="no"
HWADDR="b0:48:7a:83:42:5b"
BOOTPROTO="dhcp"
DHCP_HOSTNAME="192.168.2.1"
PEERDNS="yes"

3. about your suggestion, i am a little confused about PPPoE and all that stuff, I'd tell you what I have in case you could help me. I am attaching an image of my modem internet configuration, it says "brigded mode", what does it mean? I have to change something in the server? please note that eth1 (the interface linked to the modem) is the one that is currently working.

One more thing, when I unplug the cable from eth1 i have no connection to the internet, it should start automatically working with eth2, right?, but it doesn't.

your help is much appreciated!
Charlemagnus
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43079
Re:one interface in multiwan is always OFFLINE 10 Months, 4 Weeks ago  
Now I am confused. With your picture it implies that the ADSL modem is in bridge mode. I would then expect you to need to change the mode of eth1 in ClearOS from DHCP to PPPoE for it to work - you would need to set the ClearOS DNS servers manually. What confuses me is that your eth1 set up still works!

It is fine for eth1 and eth2 to have the same alias since they are the same type of card.

Can you give the output of "ifconfig"? It looks better on the forum if you put it between [ code ] and [ /code ] tags (removing the spaces between the [ and ])
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43106
Re:one interface in multiwan is always OFFLINE 10 Months, 4 Weeks ago  
Yes, it confuses me too!

Sorry about the code, here is "ifconfig" output:

Code:



[root@server ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1F:C6:CC:B5:B7
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:c6ff:fecc:b5b7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30413607 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26105663 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3757344948 (3.4 GiB)  TX bytes:3159131879 (2.9 GiB)
          Interrupt:201 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr B0:48:7A:83:21:E4
          inet addr:10.10.0.2  Bcast:10.10.0.255  Mask:255.255.255.0
          inet6 addr: fe80::b248:7aff:fe83:21e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10573389 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9096080 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3525661631 (3.2 GiB)  TX bytes:1237912468 (1.1 GiB)
          Interrupt:7 Base address:0x6c00

eth2      Link encap:Ethernet  HWaddr B0:48:7A:83:42:5B
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::b248:7aff:fe83:425b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:92344 errors:0 dropped:0 overruns:0 frame:0
          TX packets:153276 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9296176 (8.8 MiB)  TX bytes:8763094 (8.3 MiB)
          Interrupt:11 Base address:0x8800

Charlemagnus
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43127
Re:one interface in multiwan is always OFFLINE 10 Months, 4 Weeks ago  
I'm virtually out of ideas now and I don't know enough about multiwan. I would try changing eth1 to PPPoE and fixing the DNS IP's manually in ClearOS but I don't see why that would affect eth2. If it does not work you will have to deleter the PPPoE adaptor. Don't panic - it will return to eth1. If may then need reconfiguring.
Nick Howitt
Platinum Boarder
Posts: 4148
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43829
Re:one interface in multiwan is always OFFLINE 10 Months, 1 Week ago  
Hello all,

This couple of weeks I've been testing this issue without a solution yet. I changed the router that links with eth2, same result. I connected a desktop computer directly to the router, it had internet connection without any issues, but when I put the clearOS server in the middle, I can't go through that router, I can ping it and browse the web admin, but nothing more.

I think the problem is the DNS configuration in the server. If I make any change in the DNS setup, the multiwan page goes to "unknown" state for a couple of minutes, then back to eth1 online, eth2 offline. I will keep trying different configuration, maybe one make it work.

Thanks for the help and replies. Best wishes!
Charlemagnus
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
  get the latest posts directly to your desktop