Hi a few days a go everything worked fine but i rebooted, and i had not al settings in the right places, because after reboot the settings were gone ( earlier today i asked how to boot the ip chains and stuff so that :). If i configured /etc/network/interfaces and ifconfig gives this output, it should work? because it doesnt when i ping to www.altavista.com or to the DNS servers ip, nothing happens. ( ping over the local network works ).
grtz Dunki **output of route** ernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface localnet * 255.255.255.0 U 0 0 0 ---> where localnet => is this correct must, have the isp_ip? localnet * 255.255.255.0 U 0 0 0 sit0 10.10.10.0 * 255.255.255.0 U 0 0 0 eth1 default 10.10.10.1 0.0.0.0 UG 0 0 0 eth1 default <isp_gw_here> 0.0.0.0 UG 0 0 0 eth0 **output of ifconfig** eth0 Link encap:Ethernet HWaddr 00:10:A7:05:27:92 inet addr: <isp_ip_here> Bcast:195.86.242.255 Mask:255.255.255.0 inet6 addr: fe80::10:a705:2792/10 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5381 errors:0 dropped:0 overruns:0 frame:0 TX packets:62 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:9 Base address:0x6000 eth1 Link encap:Ethernet HWaddr 00:00:E8:9E:81:C7 inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0 inet6 addr: fe80::e89e:81c7/10 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15 errors:0 dropped:0 overruns:0 frame:0 TX packets:68 errors:74 dropped:0 overruns:0 carrier:148 collisions:1258 txqueuelen:100 Interrupt:11 Base address:0x300 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:3924 Metric:1 RX packets:23 errors:0 dropped:0 overruns:0 frame:0 TX packets:23 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 sit0 Link encap:IPv6-in-IPv4 inet addr:<isp_ip_here> Mask:255.255.255.0 inet6 addr: ::127.0.0.1/96 Scope:Unknown inet6 addr: ::10.10.10.1/96 Scope:Compat inet6 addr: ::<isp_ip_here> /96 Scope:Compat inet6 addr: ::<isp_ip_here> /96 Scope:Compat UP RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 **interfaces** # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) iface eth0 inet static address <isp_ip_here> netmask 255.255.255.0 network <isp_nw_here> broadcast <isp_ _here> gateway <isp_gw_here> iface eth1 inet static address 10.10.10.1 netmask 255.255.255.0 network 10.10.10.0 broadcast 10.10.10.255 gateway 10.10.10.1 # The loopback interface iface lo inet loopback # The first network card - this entry was created during the Debian installation # (network, broadcast and gateway are optional) iface sit0 inet static address <isp_ip_here> netmask 255.255.255.0 network <isp_nw_here> broadcast <isp_ _here> gateway <isp_gw_here> # This sets the default gateway (= gw) # /sbin/route add default gw <isp_gw_here>