Das Forum fĂĽr den Linux-Pinguin - auch andere Unix-Derivate (*BSD, (Open)Solaris, Apple's Darwin / MacOS X, ...) sind hier willkommen!
Forumsregeln
Das Forum fĂĽr den Linux-Pinguin - auch andere Unix-Derivate (*BSD, (Open)Solaris, Apple's Darwin / MacOS X, ...) sind hier willkommen!
von mmg » Sa 18 Mär, 2006 20:29
DHCP funktioniert nun also auch - die Clients bekommen eine IP zugewiesen, liege ich mit dieser Vermutung richtig?
Ja ich kann Online gehen, und bekomme auf meinem Client ein IP zugewiesen
Nur ich hab wohl was bei der Routing Tabelle falsch, also ins Internet komme ich noch nicht mit meinem Client.
Zuletzt geändert von
mmg am So 19 Mär, 2006 02:24, insgesamt 1-mal geändert.
-
mmg
- Neu im Board
-
- Beiträge: 8
- Registriert: Do 16 Mär, 2006 14:27
von mmg » So 19 Mär, 2006 02:23
Das Routing habe ich laut Doku eingestellt (base.pdf auf Seite 45 - Ethernetrouter)
- Code: Alles auswählen
#------------------------------------------------------------------------------
# Ether networks used with IP protocol:
#------------------------------------------------------------------------------
IP_NET_N='2' # number of IP ethernet networks, usually 2
IP_NET_1='10.xx.xx.xx/16' # IP address of your n'th ethernet card and
IP_NET_1_DEV='eth0' # required: device name like ethX
IP_NET_2='192.168.6.1/24' # IP address of your n'th ethernet card and
IP_NET_2_DEV='eth1' # required: device name like ethX
#------------------------------------------------------------------------------
# Additional routes, optional
#------------------------------------------------------------------------------
IP_ROUTE_N='3' # number of additional routes
IP_ROUTE_1='192.168.6.1/24 192.168.6.1'
IP_ROUTE_2='10.xx.xx.xx/16 192.168.6.1' # von eth0 zu eth1
IP_ROUTE_3='0.0.0.0/0 10.xx.xx.xx' # example for default-route
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# DNSMASQ-DHCP server
#------------------------------------------------------------------------------
OPT_DNSDHCP='yes' # activate DHCP server: yes or no
DNSDHCP_LS_TIME_DYN='3600' # default time for dynamic leases: 1 hour
DNSDHCP_MAX_LS_TIME_DYN='7200' # max time for dynamic leases: 2 hours
DNSDHCP_LS_TIME_FIX='86400' # default time for fix leases: 1 day
DNSDHCP_MAX_LS_TIME_FIX='604800' # max time for fix leases: 1 week
DNSDHCP_LEASES_DIR='/boot' # don't touch this until you
# have read the manual!
DNSDHCP_WINSSERVER_1='' # IP-address of 1st external wins-server
# (don't use if OPT_NMBD='yes'!)
DNSDHCP_WINSSERVER_2='' # IP-address of 2nd external wins-server
# (don't use if OPT_NMBD='yes'!)
# Parameters for local Networks
# -----------------------------
DNSDHCP_RANGE_1_START='' # start-IP of n'th ethernet,
# see IP_NET_N
DNSDHCP_RANGE_1_END='' # end-IP of n'th ethernet,
# see IP_NET_N
DNSDHCP_RANGE_1_DNS_SERVER='' # if empty the IP of interface
# IP_NET_N is used;
# if set to 'none' no
DNSDHCP_RANGE_2_START='192.168.6.100' # start-IP of n'th ethernet,
# see IP_NET_N
DNSDHCP_RANGE_2_END='192.168.6.150' # end-IP of n'th ethernet,
# see IP_NET_N
DNSDHCP_RANGE_2_DNS_SERVER='' # if empty the IP of interface
# IP_NET_N is used;
# if set to 'none' no
# dns-server is transmitted
DNSDHCP_RANGE_1_NTP_SERVER='' # if empty and OPT_CHRONY='yes'
# the IP of interface IP_NET_N
# is used; if set to 'none' no
# ntp-server is transmitted
DNSDHCP_RANGE_1_GATEWAY='' # if empty the IP of interface
# IP_NET_N is used;
# if set to 'none' no
# gateway is transmitted
# Parameters for extra Networks (via relay)
# -----------------------------------------
DNSDHCP_EXTRA_RANGE_N='0' # number of extra ranges
DNSDHCP_EXTRA_RANGE_1_START='192.168.8.2' # start-IP of n'th extra range
DNSDHCP_EXTRA_RANGE_1_END='192.168.8.50' # end-IP of n'th extra range
DNSDHCP_EXTRA_RANGE_1_NETMASK='255.255.255.0' # netmask for extra range
DNSDHCP_EXTRA_RANGE_1_DNS_SERVER='192.168.8.1' # DNS Server for extra range
DNSDHCP_EXTRA_RANGE_1_NTP_SERVER='' # NTP Server for extra range
DNSDHCP_EXTRA_RANGE_1_GATEWAY='192.168.8.1' # default gateway for
# extra range
DNSDHCP_EXTRA_RANGE_1_DEVICE='eth0' # device used to reach extra network
# Deny hosts from dhcp-Access
# ---------------------------
DNSDHCP_DENY_MAC_N='0' # number of denied MAC addresses
DNSDHCP_DENY_MAC_1='00:01:02:03:04:05' # MAC address is denied from DHCP
Kann sich das mal wer ansehen?
-
mmg
- Neu im Board
-
- Beiträge: 8
- Registriert: Do 16 Mär, 2006 14:27
ZurĂĽck zu LINUX & UNIX-DERIVATE
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 7 Gäste