Displaying 8 results from an estimated 8 matches for "lan_iface".
2005 May 27
3
FW: HFSC + ESFQ - class statistics
Hello,
First I want to point out that I''m not so familiar with HFSC,
since there not so much info online.
But here is my script:
${TC} class add dev ${LAN_IFACE} parent 1:0 classid 1:1 hfsc ls rate
100mbit ul rate 100mbit
${TC} class add dev ${LAN_IFACE} parent 1:1 classid 1:2 hfsc ls rate
90mbit ul rate 90mbit
${TC} class add dev ${LAN_IFACE} parent 1:1 classid 1:3 hfsc ls rate
690kbit ul rate 690kbit
${TC} class add dev $...
2007 Apr 18
0
[Bridge] Problem with startup script
...has to be handled a =
little differently. But what's got me is the errors popping up when trying =
to start the bridge from this script I'm testing with (syntax OK)
--------------------------------------
#!/bin/sh
BR_IP=3D"192.168.1.14"
BR_IFACE=3Dbr0
INET_IFACE=3D"eth1"
LAN_IFACE=3D"eth0"
#
brctl addbr $BR_IFACE
brctl addif $BR_IFACE $INET_IFACE
brctl addif $BR_IFACE $LAN_IFACE
ifconfig $INET_IFACE 0.0.0.0
ifconfig $LAN_IFACE 0.0.0.0
ifconfig $BR_IFACE up
--------------------------------------
which works fine with the 2.4 kernel but errors out with
--------------...
2013 Jan 04
4
CentOS 6.3 as Firewall/Router
...t//'`
LAN_IP="192.168.252.5"
DHCP="yes"
DHCP_SERVER=`grep dhcp-server-identifier /var/lib/dhclient/dhclient-eth0.leases \
| head -1 | awk '{print $NF}' | sed 's/;//g'`
LAN_IP_RANGE="192.168.252.0/24"
LAN_BROADCAST_ADDRESS="192.168.252.255"
LAN_IFACE="eth0"
LO_IFACE="lo"
LO_IP="127.0.0.1"
# 2. Module loading.
/sbin/depmod -a
# 2.1 Required modules
/sbin/modprobe ip_conntrack
/sbin/modprobe ip_tables
/sbin/modprobe iptable_filter
/sbin/modprobe iptable_mangle
/sbin/modprobe iptable_nat
/sbin/modprobe ipt_LOG
/sbin/...
2006 Jul 08
0
routing multiple paths to inet
...e a router used as a gateway for a small lan, I want half the machines
to use one IP and half to use another IP when using SNAT to reach the
internet. Both IPs are from the same ISP, same account, just different IPs.
Heres what I''m trying:
------------------
LAN_IP="10.0.0.1"
LAN_IFACE="eth0"
EXT_IP_1="x.y.246.186"
EXT_IFACE_1="eth1"
EXT_IP_2="x.y.246.187"
EXT_IFACE_2="eth2"
INET_GW="x.y.246.254"
LAN_NET="10.0.0.0/16"
LAN_NET_SERVERS="10.0.0.0/24"
ip route flush table main
ip route flush table server...
2003 Aug 19
4
upload vs download
I have a tc script which splits the bandwidth in 8 leaf classes based on
IP filtering.
The script looks like this:
tc filter add dev $LAN_IFACE protocol ip parent 1:0 prio 1 u32 match ip
dst 192.168.0.121 flowid 1:11
The separation works excellent for downloads, but for uploads, it is
ignored...
Can you tell me how to deal with it?
Thanks in advance,
Vlad Mihai
_______________________________________________
LARTC mailing list / LARTC...
2005 Dec 27
3
Ingress policing (matching netfilter marks)
...= '''' ]; then
echo "Aborting: Unable to determine the IP of $nic ... DHCP
problem?"
exit 1
else
echo "$TEMP"
fi
}
#### 1.1 Internet Configuration.
INET_IFACE="ppp0"
INET_IP=`RetrieveIP $INET_IFACE`
#### 1.2 Local Area Network configuration.
LAN_IFACE="eth0"
LAN_IP=`RetrieveIP $LAN_IFACE`
LAN_IP_RANGE="192.168.0.0/24"
#### 1.4 Localhost Configuration.
LO_IFACE="lo"
LO_IP="127.0.0.1"
#### 1.5 IPTables Configuration.
IPTABLES="/sbin/iptables"
#### 1.6 Misc Configuration.
#MARK_FORWARD=$[2#000000...
2004 Dec 19
0
router problem
...start my box now:(is this correct?)
INET_IFACE=eth0
INET_NET=62.85.71.0/28
INET_GW=62.85.71.1
INET_IP=62.85.71.10
INET_BCAST_ADRESS=62.85.71.15
INET_MASK=255.255.255.240
DSL_IFACE=eth2
DSL_NET=81.198.4.0/28
DSL_GW=81.198.4.1
DSL_IP=81.198.7.159
DSL_BCAST_ADRESS=81.198.7.255
DSL_MASK=255.255.252.0
LAN_IFACE=eth1
LAN_IP=10.10.10.0
LAN_NET=10.10.10.0/24
LAN_MASK=255.255.255.0
LAN_BCAST=10.10.10.255
INET_IP1=62.85.71.2
INET_IP2=62.85.71.3
INET_IP3=62.85.71.4
INET_IP4=62.85.71.5
INET_IP5=62.85.71.6
INET_IP6=62.85.71.7
INET_IP7=62.85.71.8
INET_IP8=62.85.71.9
INET_IP9=62.85.71.11
LAN_IP1=10.10.10.11/32
LAN_...
2007 Feb 05
16
Problems with HTB. Help!
Hello list.
I''ve configured a very simple script to slow down packets coming from a
particular IP Address. I''ve used IPTABLES to mark traffic coming from this
IP Address, but it does not appear to be working as expected. Let me first
describe my system as maybe what I''m doing is beyond what NETFILTER can do.
I have one machine that runs all my servers as