[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problema DHCP



Ho un computer che dovrebbe fare da router, proxy server etc non riesco
però a far funzionare il server dhcp visto che i client non riescono a
far nulla
In questo pc ci sono due schede di rete
Per la rete interna
eth0 con indirizzo 10.33.0.200 255.255.255.0
Per il modem ethernet
eth1 con indirizzo 192.168.254.1 255.255.255.0
il modem ha indirizzo 192.168.254.254
ifconfig
 eth0      Link encap:Ethernet  HWaddr 00:40:F4:4F:B0:53
          inet addr:10.33.0.200  Bcast:10.33.0.255  Mask:255.255.255.0
          inet6 addr: fe80::240:f4ff:fe4f:b053/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5772 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8088 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:628845 (614.1 KiB)  TX bytes:2021076 (1.9 MiB)
          Interrupt:12 Base address:0xd800

eth1      Link encap:Ethernet  HWaddr 00:50:04:BD:FE:F7
          inet addr:192.168.254.1  Bcast:192.168.254.255  Mask:255.255.255.0
          inet6 addr: fe80::250:4ff:febd:fef7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1926 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:1 txqueuelen:1000
          RX bytes:1097280 (1.0 MiB)  TX bytes:244018 (238.2 KiB)
          Interrupt:3 Base address:0xd400

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:16436  Metric:1
          RX packets:6681 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6681 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:903566 (882.3 KiB)  TX bytes:903566 (882.3 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:80.180.78.218  P-t-P:192.168.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:1702 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1584 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1045971 (1021.4 KiB)  TX bytes:195292 (190.7 KiB)

configurazione dhcd.conf
# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
#
# default gateway
# localnet
subnet 10.33.0.0 netmask 255.255.255.0 {
        range 10.33.0.1 10.33.0.200;
        option subnet-mask 255.255.255.0;
        option broadcast-address 10.33.0.255;
        }
# Internet Zone
subnet 192.168.254.0 netmask 255.255.255.0 {
        range 192.168.254.1 192.168.254.1;
        range 192.168.254.254 192.168.254.254;
        }

route -n
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.100.1   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
10.33.0.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.254.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         192.168.100.1   0.0.0.0         UG    0      0        0 ppp0


Qualcuno può aiutarmi a capire in cosa sto sbagliando ?
Grazie mille






Reply to: