New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

No Internet connection from BubbaTwo

Got problems with your B2 or B3? Share and get helped!
Post Reply
trencarbe
Posts: 103
Joined: 11 Aug 2008, 16:02

No Internet connection from BubbaTwo

Post by trencarbe »

I cannot reach the Internet from my BubbaTwo. However, I can reach it from my other server and my local computers. Any ideas?

This is my setup:

ADSL Router (Thomson TG787)
gateway: 192.168.1.254

- Switch 1GB
- Bubba (*not* able to connect to Internet)
from /etc/network/interfaces:
auto lo
iface lo inet loopback

iface eth1 inet static
address 192.168.1.100
netmask 255.255.255.0

iface eth0 inet static
gateway 192.168.1.254
netmask 255.255.255.0
address 192.168.1.100


- Old server (able to connect to Internet)
from /etc/network/interfaces:
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.99
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254



Ping from BubbaTwo gives:
ping www.google.se
PING www.l.google.com (64.233.183.147) 56(84) bytes of data.
From bubba.localdomain (192.168.1.100) icmp_seq=1 Destination Host Unreachable
From bubba.localdomain (192.168.1.100) icmp_seq=2 Destination Host Unreachable
From bubba.localdomain (192.168.1.100) icmp_seq=3 Destination Host Unreachable
^C
--- www.l.google.com ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4026ms






Doesn't seem like silicon bug, or does it?

Any ideas?

Help! :(
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

As I can see is that you have the same address (and thus the same network) on both eth0 and eth1, which might be the cause of the problem.

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
trencarbe
Posts: 103
Joined: 11 Aug 2008, 16:02

Post by trencarbe »

Ooops, didn't see that... My fault.

Now I've changed to the following config, but Bubba says '


WAN

( ) Obtain IP-address automatically (DHCP)

(*) Use static IP address settings:

IP: 192. 168. 1__. 101
Netmask: 255. 255. 255. 0__
Default gateway: 0__. 0__. 0__. 0__ <==----- *This field gets resetted from '192. 168. 1__. 254' to '0__. 0__. 0__. 0__'
Primary DNS: 192. 168. 1__. 254
Update


LAN

( ) Obtain IP-address automatically (DHCP)

(*) Use static IP address settings:

IP: 192. 168. 1__. 100
Netmask: 255. 255. 255. 0__
Default gateway:* 0__. 0__. 0__. 0__
Primary DNS:* 192. 168. 1__. 254

[X] Enable DNS service
[ ] Enable DHCP server
Lease range: 192. 168. 10_. 50_ - 192. 168. 10_. 100
Update




- Should I open up something in Bubba's firewall?

- Why gets 'Default gateway:' in WAN setting resetted all the time?


This is the best I get to:
ping www.google.se
connect: Network is unreachable
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

You must also make sure that the two interfaces are on different networks, i.e. if WAN is on the 198.162.1.0 network with the IP 198.162.1.101, then LAN must not be on the 198.162.1.0 network; you can place it for example on the 198.162.10.0 network.

The topology is as follow: Network_1 â†
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
trencarbe
Posts: 103
Joined: 11 Aug 2008, 16:02

Post by trencarbe »

all right, thx! I understand it better now!

I also misunderstood the WAN/LAN idea, connecting B2 to the WAN port gets me to the Internet!

Thanks for you help!
Post Reply