newton
14.04.04, 21:41
Hallo,
folgende Situation: ein Server, der unter anderem internet fuers lan bereitstellen soll, windows und linuxclients (suse 8.1).
Problem: Kein Internet vom client, obwohl internes netz funktioniert und der server auch ins internet kommt, aber irgendwie klapt das mit dem ip-forwarding nicht.
Folgende Serverkonfiguration:
eth0 am DSL -Modem
eth1 192.168.6.110
gateway 0.0.0.0 -dsl
ip-forwarding enabled (wird in boot.msg auch bestaetigt)
fuer dns und masquerading hab ich dnsmasq 2.6-1 installiert, im folgenden auszuege aus dnsmasq.cong (alle einkommentierten optionen,den rest hab ich fuer bessere lesbarkeit weggeschnitten)
# Configuration file for dnsmasq.
#
# Filter useless windows-originated DNS requests
filterwin2k
# If you want dnsmasq to listen for requests only on specified interfaces
# (and the loopback) give the name of the interface (eg eth0) here.
# Repeat the line for more than one interface.
interface=eth1
# Uncomment this to enable the integrated DHCP server, you need
# to supply the range of addresses available for lease and optionally
# a lease time. If you have more than one network, you will need to
# repeat this for each network on which you want to supply DHCP
# service.
dhcp-range=192.168.6.1,192.168.6.100,12h
# The following DHCP options set up dnsmasq in the same way as is specified
# for the ISC dhcpcd in
# http://www.samba.org/samba/ftp/docs/textdocs/DHCP-Server-Configuration.txt
# adapted for a typical dnsmasq installation where the host running
# dnsmasq is also the host running samba.
# you may want to uncomment them if you use Windows clients and Samba.
dhcp-option=19,0 # option ip-forwarding off
dhcp-option=44,0.0.0.0 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s)
dhcp-option=45,0.0.0.0 # netbios datagram distribution server
dhcp-option=46,8 # netbios node type
dhcp-option=47 # empty netbios scope.
# Set the limit on DHCP leases, the default is 150
#dhcp-lease-max=150
# Set the cachesize here.
cache-size=500
am client folgende einstellungen:
gateway 192.168.6.110
dnsserver 192.168.6.110
ping an server klapt, ping an dns-server der telekom klapt nicht, aber aus folgendem ping meine ich erkennen zu koennen, das dnsmasq bezueglich adressaufloesung funktioniert:
newton@suse:/home> ping www.web.de
PING www.web.de (217.72.195.42) from 192.168.6.101 : 56(84) bytes of data.
From suse.lan.fli4l (192.168.6.101): icmp_seq=1 Destination Host Unreachable
From suse.lan.fli4l (192.168.6.101) icmp_seq=1 Destination Host Unreachable
From suse.lan.fli4l (192.168.6.101) icmp_seq=2 Destination Host Unreachable
--- www.web.de ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% loss, time 4029ms
, pipe 2
firewall ist noch keine installiert.
die interne netzwerkkarte ist eineISA Karte, ist es moeglich, das es daran liegt ? :confused:
weis vielleicht jemand rat ?
gruss,
newton
folgende Situation: ein Server, der unter anderem internet fuers lan bereitstellen soll, windows und linuxclients (suse 8.1).
Problem: Kein Internet vom client, obwohl internes netz funktioniert und der server auch ins internet kommt, aber irgendwie klapt das mit dem ip-forwarding nicht.
Folgende Serverkonfiguration:
eth0 am DSL -Modem
eth1 192.168.6.110
gateway 0.0.0.0 -dsl
ip-forwarding enabled (wird in boot.msg auch bestaetigt)
fuer dns und masquerading hab ich dnsmasq 2.6-1 installiert, im folgenden auszuege aus dnsmasq.cong (alle einkommentierten optionen,den rest hab ich fuer bessere lesbarkeit weggeschnitten)
# Configuration file for dnsmasq.
#
# Filter useless windows-originated DNS requests
filterwin2k
# If you want dnsmasq to listen for requests only on specified interfaces
# (and the loopback) give the name of the interface (eg eth0) here.
# Repeat the line for more than one interface.
interface=eth1
# Uncomment this to enable the integrated DHCP server, you need
# to supply the range of addresses available for lease and optionally
# a lease time. If you have more than one network, you will need to
# repeat this for each network on which you want to supply DHCP
# service.
dhcp-range=192.168.6.1,192.168.6.100,12h
# The following DHCP options set up dnsmasq in the same way as is specified
# for the ISC dhcpcd in
# http://www.samba.org/samba/ftp/docs/textdocs/DHCP-Server-Configuration.txt
# adapted for a typical dnsmasq installation where the host running
# dnsmasq is also the host running samba.
# you may want to uncomment them if you use Windows clients and Samba.
dhcp-option=19,0 # option ip-forwarding off
dhcp-option=44,0.0.0.0 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s)
dhcp-option=45,0.0.0.0 # netbios datagram distribution server
dhcp-option=46,8 # netbios node type
dhcp-option=47 # empty netbios scope.
# Set the limit on DHCP leases, the default is 150
#dhcp-lease-max=150
# Set the cachesize here.
cache-size=500
am client folgende einstellungen:
gateway 192.168.6.110
dnsserver 192.168.6.110
ping an server klapt, ping an dns-server der telekom klapt nicht, aber aus folgendem ping meine ich erkennen zu koennen, das dnsmasq bezueglich adressaufloesung funktioniert:
newton@suse:/home> ping www.web.de
PING www.web.de (217.72.195.42) from 192.168.6.101 : 56(84) bytes of data.
From suse.lan.fli4l (192.168.6.101): icmp_seq=1 Destination Host Unreachable
From suse.lan.fli4l (192.168.6.101) icmp_seq=1 Destination Host Unreachable
From suse.lan.fli4l (192.168.6.101) icmp_seq=2 Destination Host Unreachable
--- www.web.de ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% loss, time 4029ms
, pipe 2
firewall ist noch keine installiert.
die interne netzwerkkarte ist eineISA Karte, ist es moeglich, das es daran liegt ? :confused:
weis vielleicht jemand rat ?
gruss,
newton