Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Vlans, Dhcp, Squid, and monmotha 2.3.8-pre9

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
Acidus



Joined: Wed Aug 10, 2005 12:09 pm
Posts: 1

PostPosted: Wed Aug 10, 2005 12:14 pm    Post subject: Vlans, Dhcp, Squid, and monmotha 2.3.8-pre9 Reply with quote

Debian Sarge - Kernel 2.6.12.3

While im using the script, my dhcp clients gets "no DHCPOFFERS received"
msg, but in my server syslog file i can see the DHCPDISCOVER msg from the client, and the DCHPOFFER to that request.

Anyone using monmotha over here? any help, would be great. thnxs in adv!.

/network/intefaces
auto eth0 eth1 vlan2 vlan3 vlan4 vlan5

#iface eth0 inet dhcp

##############################
# VLANS
##############################
iface eth0 inet static
address 10.100.200.213
netmask 255.255.255.0
network 10.100.200.0
broadcast 10.100.200.255
vlan_raw_device eth0

iface vlan2 inet static
address 10.2.0.1
netmask 255.255.0.0
network 10.2.0.0
broadcast 10.2.255.255
vlan_raw_device eth0

iface vlan3 inet static
address 10.3.0.1
netmask 255.255.0.0
network 10.3.0.0
broadcast 10.3.255.255
vlan_raw_device eth0

iface vlan4 inet static
address 10.4.0.1
netmask 255.255.0.0
network 10.4.0.0
broadcast 10.4.255.255

vlan_raw_device eth0
iface vlan5 inet static
address 10.5.0.1
netmask 255.255.0.0
network 10.5.0.0
broadcast 10.5.255.255
vlan_raw_device eth0

##############################
# INTERNET
##############################

iface eth1 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.99

--------------------------------------------------
Script(partial)
# Main Options
IPTABLES="/sbin/iptables"
TCP_ALLOW="22"
UDP_ALLOW="68 6112 6119 4000"
INET_IFACE="eth1"
LAN_IFACE="eth0 vlan2 vlan3 vlan4 vlan5"
INTERNAL_LAN="10.100.200.0/24 10.2.0.0/16 10.3.0.0/16 10.4.0.0/16
10.5.0.0/16"
MASQ_LAN="10.100.200.0/24 10.2.0.0/16 10.3.0.0/16 10.4.0.0/16 10.5.0.0/16"
SNAT_LAN=""
DROP="TREJECT"
DENY_ALL=""
DENY_HOSTWISE_TCP=""
DENY_HOSTWISE_UDP=""
BLACKHOLE=""
BLACKHOLE_DROP="DROP"
ALLOW_HOSTWISE_TCP=""
ALLOW_HOSTWISE_UDP=""
TCP_FW=""
UDP_FW=""
MANGLE_TOS_OPTIMIZE="FALSE"
DHCP_SERVER="TRUE"
BAD_ICMP="5 9 10 15 16 17 18"
ENABLE="Y"

# Flood Params
LOG_FLOOD="2/s"
SYN_FLOOD="20/s"
PING_FLOOD="1/s"
ALLOW_OUT_TCP=""
PROXY="10.100.200.213:8080"
MY_IP="10.100.200.213"
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast