Server networking problem
I have a Ubuntu 8.1 workstation connected via cable to a router again connected via cable to an adsl modem.
This configuration works without problem, I'm connected to the internet.
Then I add an Ubuntu server, no Gui interface only character based. This server has 2 network cards, eth0 cabled to the ADSL modem and eth1 cabled to the router. With this configuration, the workstation is not able to get out on the net, it can only access other devices within the routers domain, i.e a web camera and also the server. The server can be accessed thru Putty and also sftp and ftp.
From the server, there is still access to the internet. I can ping any domain. Also, I can access the workstation from the server and also other devices on the internal network.
I have read all how to's and also browsed the net for similar problems, but cannot find any solution. I have also installed dhcp3 but that did not make any change.
Below is some information on how I have configured the server. Hope someone is able to give me a hint of how to solve my problem.
/etc/network/
# The loopback network interface
auto lo
iface lo inet loopback
auto eth1
iface eth1 inet static
address 192.168.2.2
netmask 255.255.255.0
broadcast 192.168.2.255
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.33
netmask 255.255.255.0
gateway 192.168.1.1
network 192.168.1.0
broadcast 192.168.1.255
Output from ifconfig
eth0 Link encap:Ethernet HWaddr 00:1c:c0:7f:6d:9e
inet addr:192.168.1.33 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21c:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1644 errors:0 dropped:0 overruns:0 frame:0
TX packets:1402 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2413682 (2.4 MB) TX bytes:106111 (106.1 KB)
eth1 Link encap:Ethernet HWaddr 00:22:b0:52:bb:58
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::222:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:958 errors:0 dropped:0 overruns:0 frame:0
TX packets:611 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:117383 (117.3 KB) TX bytes:107409 (107.4 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:4621 (4.6 KB) TX bytes:4621 (4.6 KB)
Output from the route command
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 100 0 0 eth0
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- HelgeB
- Solved:
- Last query:
- Last reply: