New to Linux, and have tried in the last week, PC-BSD, FreeBSD, Ubuntu, and a couple others... I've so far really enjoyed Kubuntu. I'm trying to setup a webserver/firewall/mailserver using Kubuntu, as I'm not the linux command line expert..
I have a box, kubutu 6.06lts installed, updated to kde3.5.3 and 2 nics.
Both are identical Linksys models and are both shown in device lists.
I want to use this box as my gateway for the rest of my servers (windows) in my system I configure eth0 to a static external IP, and configure eth1 to a static internal ip (192.168.10.1)
As soon as I configure in this manner, I loose internet connection. I've pointed eth1 gateway to eth0, but that doesn't seem to solve anything. I can only seem to get net connection by disabling eth1, and letting eth0 run static (external IP). Anyone have some ideas. I've been searching for days, and haven't been able to locate this scenario (or a least a fix for this scenario). And heres output from ifconfig and /etc/network/interfaces as well: (I've disabled eth1, as shown here, and commented out these other network interfaces, strange, There are no other physical interfaces either..)
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:14:BF:58:1F:C4
inet addr:24.38.34.180 Bcast:24.38.34.183 Mask:255.255.255.248
inet6 addr: fe80::214:bfff:fe58:1fc4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:549658 errors:0 dropped:0 overruns:0 frame:0
TX packets:11870 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43726099 (41.7 MiB) TX bytes:1626837 (1.5 MiB)
Interrupt:11 Base address:0xf800
eth1 Link encap:Ethernet HWaddr 00:14:BF:58:1F:E5
inet addr:67.22.37.247 Bcast:67.22.39.255 Mask:255.255.252.0
inet6 addr: fe80::214:bfff:fe58:1fe5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:58079 errors:0 dropped:0 overruns:0 frame:0
TX packets:151 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3520734 (3.3 MiB) TX bytes:16729 (16.3 KiB)
Interrupt:11 Base address:0xf400
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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:260 (260.0 b) TX bytes:260 (260.0 b)
/etc/network/interfaces:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet static
address 24.38.34.180
netmask 255.255.255.248
gateway 24.38.34.177
auto eth1
iface eth1 inet dhcp
#auto eth2
#iface eth2 inet dhcp
#auto ath0
#iface ath0 inet dhcp
#auto wlan0
#iface wlan0 inet dhcp
Any ideas/help would be greatly appreciated. Sorry for my lack of expertise here with Kubuntu, but I'm Learning
Jason
I have a box, kubutu 6.06lts installed, updated to kde3.5.3 and 2 nics.
Both are identical Linksys models and are both shown in device lists.
I want to use this box as my gateway for the rest of my servers (windows) in my system I configure eth0 to a static external IP, and configure eth1 to a static internal ip (192.168.10.1)
As soon as I configure in this manner, I loose internet connection. I've pointed eth1 gateway to eth0, but that doesn't seem to solve anything. I can only seem to get net connection by disabling eth1, and letting eth0 run static (external IP). Anyone have some ideas. I've been searching for days, and haven't been able to locate this scenario (or a least a fix for this scenario). And heres output from ifconfig and /etc/network/interfaces as well: (I've disabled eth1, as shown here, and commented out these other network interfaces, strange, There are no other physical interfaces either..)
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:14:BF:58:1F:C4
inet addr:24.38.34.180 Bcast:24.38.34.183 Mask:255.255.255.248
inet6 addr: fe80::214:bfff:fe58:1fc4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:549658 errors:0 dropped:0 overruns:0 frame:0
TX packets:11870 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43726099 (41.7 MiB) TX bytes:1626837 (1.5 MiB)
Interrupt:11 Base address:0xf800
eth1 Link encap:Ethernet HWaddr 00:14:BF:58:1F:E5
inet addr:67.22.37.247 Bcast:67.22.39.255 Mask:255.255.252.0
inet6 addr: fe80::214:bfff:fe58:1fe5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:58079 errors:0 dropped:0 overruns:0 frame:0
TX packets:151 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3520734 (3.3 MiB) TX bytes:16729 (16.3 KiB)
Interrupt:11 Base address:0xf400
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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:260 (260.0 b) TX bytes:260 (260.0 b)
/etc/network/interfaces:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet static
address 24.38.34.180
netmask 255.255.255.248
gateway 24.38.34.177
auto eth1
iface eth1 inet dhcp
#auto eth2
#iface eth2 inet dhcp
#auto ath0
#iface ath0 inet dhcp
#auto wlan0
#iface wlan0 inet dhcp
Any ideas/help would be greatly appreciated. Sorry for my lack of expertise here with Kubuntu, but I'm Learning
Jason
Comment