[fli4l] Ping auf fli4l aus mehreren class-c-netzen
Lutz Nülle
Lutz.nuellen at gmx.de
Do Mai 17 16:05:10 CEST 2012
Hallo,
ich baue gerade einen fli4l mit 3 Teilnetzen auf.
Ich möchte gerne aus allen Netzen fli4l mit 'fli4l' und nicht nur mit
der ip erreichen.
Bisher gelingt mir das nicht so richtig. Ich weiß auch nicht wo ich
ansetzen soll.
Bisher sehen meine config-files folgendermaßen aus:
(wobei ich vermute dass ich in der domain-config drehen muss - aber wie???)
mit besten Grüßen und Dank fürs Anschauen
mfg
Lutz
***************base***********************
..
------------------------------------------------------------------------------
# Ethernet card drivers:
#------------------------------------------------------------------------------
NET_DRV_N='3' # number of ethernet drivers to load,
usually 1
NET_DRV_1='via-rhine' # 1st driver: name (e.g. NE2000 PCI clone)
NET_DRV_1_OPTION='' # 1st driver: additional option
NET_DRV_2='8139too' # 2nd driver: name (e.g. NE2000 ISA
clone)
NET_DRV_2_OPTION='' #
NET_DRV_3='tulip' #
NET_DRV_3_OPTION='' #
#------------------------------------------------------------------------------
# Ether networks used with IP protocol:
#------------------------------------------------------------------------------
IP_NET_N='3' #
IP_NET_1='192.168.25.1/24' #
IP_NET_1_DEV='eth0' #
IP_NET_2='192.168.35.1/24' #
IP_NET_2_DEV='eth1'
IP_NET_3='192.168.45.1/24' #
IP_NET_3_DEV='eth2'
..
#------------------------------------------------------------------------------
# Domain configuration:
# configuration of DNS, DHCP-Server and HOSTS -> see package DNS_DHCP
#------------------------------------------------------------------------------
DOMAIN_NAME='lan.fli4l' # your domain name
DNS_FORWARDERS='194.8.57.8' # DNS servers of your provider,
# e.g. ns.n-ix.net
# optional configuration for the host-entry of the router in /etc/hosts
HOSTNAME_IP='192.168.25.1' # IP to bind to HOSTNAME
HOSTNAME_ALIAS_N='3' # how many ALIAS for router
HOSTNAME_ALIAS_1='router.lan.fli4l' # first ALIAS name
HOSTNAME_ALIAS_2='gateway.my.lan' # secound ALIAS name
HOSTNAME_ALIAS_3='vonLutz.lan'
************** dnsdhcp *********************
#------------------------------------------------------------------------------
# HOSTS
#------------------------------------------------------------------------------
#
HOSTS_N='0' # number of hosts in your
# 1st host:
HOST_1_NAME='client1' # name
#HOST_1_DOMAIN='foo.lan' # different domain (optional)
....
#------------------------------------------------------------------------------
# DNS configuration:
#------------------------------------------------------------------------------
OPT_DNS='yes' # start dns server: yes or no
DNS_LISTENIP_N='0' # if 0 then listen on all interfaces
DNS_LISTENIP_1='IP_NET_1_IPADDR' # first IP to listen on
DNS_VERBOSE='no' # log queries into syslog
DNS_MX_SERVER='' # fqdn of the mx for your DOMAIN
DNS_FORBIDDEN_N='0' # number of forbidden domains
DNS_FORBIDDEN_1='foo.bar' # 1st forbidden domain
DNS_FORBIDDEN_2='bar.foo' # 2nd forbidden domain
DNS_REDIRECT_N='0' # number of redirected domains
DNS_REDIRECT_1='foo.bar.foo' # 1st redirected domain
DNS_REDIRECT_1_IP='192.168.6.100' # IP of redirected domain
DNS_BOGUS_PRIV='yes' # fake reverse lookups for RFC1918
# private address ranges
DNS_FILTERWIN2K='yes' #
#
#
#DNS_SUPPORT_IPV6='no' # enable/disable IPV6-support
# Special DNS configuration
#--------------------------
DNS_SPECIAL_N='0' # number of delegations
DNS_SPECIAL_1_DNSIP='192.168.1.12' #
DNS_SPECIAL_1_DOMAIN='firma.de' #
#DNS_SPECIAL_1_NETWORK='192.168.1.0/24' # Network(s) to delegate
DNS_SPECIAL_2_DNSIP='192.168.1.12' # IP- of DNS-Server
DNS_SPECIAL_2_DOMAIN='lan.firma.de' # Domain to delegate
DNS_SPECIAL_3_DNSIP='192.168.3.12' # IP- of DNS-Server
DNS_SPECIAL_3_NETWORK='192.168.3.0/24 192.168.4.0/24'
# domains allowed to return private ip addresses from upstream
# DNS Servers
DNS_REBINDOK_N='0' # Number of Domains
DNS_REBINDOK_1_DOMAIN='rfc-ignorant.org'
#------------------------------------------------------------------------------
# DHCP-Server configuration:
#------------------------------------------------------------------------------
OPT_DHCP='yes' # activate DHCP server
DHCP_TYPE='dnsmasq' # use 'dnsmasq' or 'isc-dhcpd'
DHCP_VERBOSE='no' # n
DHCP_LS_TIME_DYN='3600' # r
DHCP_MAX_LS_TIME_DYN='7200' # s
DHCP_LS_TIME_FIX='86400' #
DHCP_MAX_LS_TIME_FIX='604800' # max time for fix leases: 1 week
DHCP_LEASES_DIR='/boot' #
DHCP_WINSSERVER_1='' # IP of 1st external wins-server
#
DHCP_WINSSERVER_2='' # IP of 2nd external wins-server
#
# Parameters for local Networks
# -----------------------------
DHCP_RANGE_N='3' # number of dhcp-ranges
DHCP_RANGE_1_NET='IP_NET_1' #
DHCP_RANGE_1_START='192.168.25.160' # start-IP
DHCP_RANGE_1_END='192.168.25.220' # end-IP
DHCP_RANGE_1_DNS_SERVER1='' #
#--
DHCP_RANGE_2_NET='IP_NET_2' #
DHCP_RANGE_2_START='192.168.35.160' #
DHCP_RANGE_2_END='192.168.35.220' #
DHCP_RANGE_2_DNS_SERVER1='' #
#--
DHCP_RANGE_3_NET='IP_NET_3' #
DHCP_RANGE_3_START='192.168.45.160' #
DHCP_RANGE_3_END='192.168.45.220' #
#-
DHCP_RANGE_4_START='192.168.45.230' #
DHCP_RANGE_4_END='192.168.45.240' #
#-
DHCP_RANGE_4_DNS_SERVER1='' #
********************* ob ich ab hier was machen muss weiß ich nicht
*************
#--
DHCP_RANGE_1_DNS_SERVER2='' #
DHCP_RANGE_1_DNS_DOMAIN='' #
DHCP_RANGE_1_NTP_SERVER='' #
DHCP_RANGE_1_GATEWAY='' #
#DHCP_RANGE_1_OPTION_N='0' #
#
#DHCP_RANGE_1_OPTION_1='encap:175, 190, user'
# Parameters for extra Networks (via relay)
# -----------------------------------------
DHCP_EXTRA_RANGE_N='0' # number of extra ranges
DHCP_EXTRA_RANGE_1_START='192.168.8.2' #
DHCP_EXTRA_RANGE_1_END='192.168.8.50' #
DHCP_EXTRA_RANGE_1_NETMASK='255.255.255.0' #
DHCP_EXTRA_RANGE_1_DNS_SERVER='192.168.8.1' #
DHCP_EXTRA_RANGE_1_NTP_SERVER='' #
DHCP_EXTRA_RANGE_1_GATEWAY='192.168.8.1' #
#
DHCP_EXTRA_RANGE_1_DEVICE='eth0' #
Mehr Informationen über die Mailingliste Fli4L