Nie wiem o ktory plik conf Ci chodzilo wiec wkleilem DHCP i SYSTEM. I zauwazylem ze ze sa jaies ustawienia eth2 ale ja nic nie ustawialem i nie wiem z kad to sie wzielo.
# Static DHCP leases
#
#This file lists optional static dhcp leases. You must edit the version
#of this file in /mnt/router/etc not /etc. All lines beginning with #
#are comments and are ignored.
#
#sample:
#
#host elo1 {
#fixed-address 192.168.0.2;
#hardware ethernet 00:c0:f0:5b:44:44;
#}
#host elo2 {
#fixed-addres 192.168.0.3;
#hardware ethernet 00:e0:7d:86:1e:1b:
#}
#host elo3 {
#fixed-address 192.168.0.4;
#hardware ethernet 00:c1:26:11:38:32;
#}
# [System]
ROUTER=ethernet # 0.dialup/leased/ethernet/bridge
HOSTNAME=router #711.Router name
DOMAIN=Luzmaryja #712.(Local) domain name
ENAMSQ=y # 11.Enable NAT and firewall
ENABRG=n # 12.Enable bridging mode? DONT TOUCH!!!
BIGMEM=n # 13.If 16+MB RAM start ppp bsd compression
SAVERS=0,0 # 14.Savers - screen(min),hdd(x5 sec) 0 -off
SWPSIZE=16 # 15.Swap size in Kb on boot device. 0 - off
LOGSIZE=50000,5000 # 16.System_log,logins_log sizes (bytes)
DEFISP= # 6.Default dialup ISP
# [Services] # y - worldwide/s - local/n - disable
ENADNS=s #411.Enable caching DNS server
LOGDNS=n #412.Enable debug info
ENADHCP=s #421.Enable DHCP server
WINSADDR= #422. WINS address (for DHCP server)
LIZTIME=604800,604800 #423. default-lease-time,max-lease-time
ENAWWW=s #431.Enable Public HTTP Server
WWWPORT=80 #432. on port
ENAWWA=n #441.Enable Time Server and control via HTTP
WWAPORT=82 #442. on port
TIMADDR=www.clock.org #443.Host timeserver address, empty - disable
TIMZONE=+0400 #444. Offset to UTC (-1200 -:- +1200)
ENALPD=n #451.Enable Print Server
LPPORT1=515 #452. on port
LPDEV1=lp1 #453. on output device
LPPORT2=516 #454.Second lp server on port, empty - disable
LPDEV2=lp2 #455. on output device
ENATEL=s # 46.Enable telnet server
# [Security]
TRUSTLN=p #211.Trust local nets y/n/p{artual}
TRUSTMD=y #212.Modem links have access to local networks
RINGS=2,7 #220.Rings before answer at login,nologin time
MonTIM="" #221.Nologin times for modem users
TueTIM="" #222
WedTIM="" #223
ThuTIM="" #224
FriTIM="" #225
SatTIM="" #226
SunTIM="" #227
# [Modems]
MODEM0= # 51.1st modem
MSPEED0= # 52.port's speed
MINIT0="" # 53.init string
MTU0= #541.Maximum Transmit Unit
MRU0= #542.Maximum Receive Unit
MADDR0=192.168.168.2 # 55.ppp link remote addr (for dialin purpose)
MODEM1= # 61
MSPEED1= # 62
MINIT1="" # 63
MTU1= #641
MRU1= #642
MADDR1=192.168.168.3 # 65.I said for dialin purpose.
# [leased line router]
ADRTYPE=dynamic #921.if ISP supplies us with dynamic IP, then:
LOCAL=127.0.0.2 #922.fake local side ppp IP addr
REMOTE=127.0.0.3 #923.fake remote addr
# [ethernet/leased/printer/ras router]
GATEWAY= #911.Default gateway, if exist.
DNSADDR=194.204.159.1 #912.Primary DNS address for ethernet connection
DNSADDR1=192.204.152.34 #913.Secondary DNS address for ethernet connection
PROXY="" #914.HTTP proxy addr[:port]
# [Hardware]
IO0=0x #811.1st ethernet card I/O address
IRQ0=10 #812.IRQ line
IO1=0x #821
IRQ1=9 #822
IO2=0 #831
IRQ2=0 #832
# [Networks]
USEDHCP0=y #720.Use DHCP client to config this interface
INTNAME0=eth0 #721.Interface name (eth0|arc0e|arc0)
DHCPLOG=y #722.Enable DHCP client messages in the log
DHCPDNS=y #723 Enable auto configuration of DNS via DHCP
IPADDR0=192.168.0.1 #724.IP adress of this interface
NETMASK0=255.255.255.0 #725.Network mask
NETWORK0=192.168.0.0 # Network address
BRDCAST0=192.168.0.255 # Broadcast address
#726.IP pool, empty disables DHCP on this interface
IPRANGE0=""
INTNAME1=eth1 #731.Interface name (eth1|eth0:1|arc0e|arc0 etc)
IPADDR1=192.168.0.1 #732. Second network
NETMASK1=255.255.255.0
NETWORK1=192.168.0.0
BRDCAST1=192.168.0.255
IPRANGE1="192.168.0.2 192.168.0.4"
INTNAME2=eth2 #74x. Third network
IPADDR2=172.16.0.1
NETMASK2=255.255.255.0
NETWORK2=172.16.0.0
BRDCAST2=172.16.0.255
IPRANGE2=""
PPPOE=y
Z góry dzieki za pomoc
