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

Bridge and DHCPD BIG Problem



I have 2 NIC's eth0 and eth1(Intelpro 100),and i can't find this ftp://shadow.cabi.net/pub/Linux/BRCFG.tgz in this place,i've tryed other bridge related software listed in fresmeat.net but i doesn't know if that softs really works.I set my cards to work in PROMISC mode but my HUB show 95% of utilization when this progs (all related in fresmet.net).
Also i receive many col problems when i call ifconfig in both eth0 and eth1.


With dhcpd i'm using this setup:
server-identifier server.wtulinux.co.jp;

#option domain-name "wtulinux.co.jp";
#option domain-name-servers server.wtulinux.co.jp;

shared-network DHCP {
       option subnet-mask 255.255.255.0;
       subnet 192.168.0.0 netmask 255.255.255.0 {
       range 192.168.0.4 192.168.0.250;
       option broadcast-address 192.168.0.255;
       option routers 192.168.0.3;
       default-lease-time 21600;
       max-lease-time 43200;
       }
}

subnet 192.168.1.0 netmask 255.255.255.0 {
       range 192.168.1.4 192.168.1.100;
}

All working fine,but when i connect to internet i must shutdown dhcpd or i can't reach the internet?
To connect to internet i'm using an external ISDN-router on IP 192.168.0.1


How can i make my bridge work?(ps:my kernel it's configured with the bridge options)
And how can i make my DHCPD update the IPs and reach the internet at the same time?
Thanks in advance for any help.


Just in case this is my ipchains MASQ rules:
ipchains -P forward DENY
ipchains -A forward -p tcp -s 192.168.1.0/24 -d 0.0.0.0 -j MASQ
ipchains -A forward -p udp -s 192.168.1.0/24 -d 0.0.0.0 -j MASQ
ipchains -A forward -p tcp -s 192.168.0.0/24 -d 0.0.0.0 -j MASQ
ipchains -A forward -p udp -s 192.168.0.0/24 -d 0.0.0.0 -j MASQ
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



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