Displaying 4 results from an estimated 4 matches for "lo_ip".
2004 Aug 03
0
Second isp failure with dual internet connection
...pet from my firewall script
isp1_ip="xx.0.5.20"
isp1_gw="xx.0.5.1"
isp1_net="xx.0.5.0/28"
isp1_if="eth2"
isp2_ip="xx.182.19.88"
isp2_gw="xx.182.19.1"
isp2_net="xx.182.19.0/28"
isp2_if="eth3"
lo_ip="127.0.0.1"
lo_if="lo"
lo_net="127.0.0.1/8"
ip rule delete from $isp1_ip
ip rule delete from $isp2_ip
ip route delete table 5 # isp 1
ip route delete table 7 # isp 2
ip route del default via $isp2_gw dev $isp2_if
ip route flush cache
#ip rou...
2004 Aug 05
0
URGENT HELP needed!! Problem with second route dual ISP
Below is a snippet from my firewall script
isp1_ip="xx.0.5.20"
isp1_gw="xx.0.5.1"
isp1_net="xx.0.5.0/28"
isp1_if="eth2"
isp2_ip="xx.182.19.88"
isp2_gw="xx.182.19.1"
isp2_net="xx.182.19.0/28"
isp2_if="eth3"
lo_ip="127.0.0.1"
lo_if="lo"
lo_net="127.0.0.1/8"
ip rule delete from $isp1_ip
ip rule delete from $isp2_ip
ip route delete table 5 # isp 1
ip route delete table 7 # isp 2
ip route del default via $isp2_gw dev $isp2_if
ip route flush cache
#ip route default...
2013 Jan 04
4
CentOS 6.3 as Firewall/Router
...ot;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/modprobe ipt_limit
/sbin/modprobe ipt_MASQUERAD...
2005 Dec 27
3
Ingress policing (matching netfilter marks)
...}
#### 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#00000001]
#MARK_PRIORITY=$[2#00000010]
#MARK_GENERAL=$[2#00000100]
#MARK_BULK=$[2#00001000]
MARK_FORWARD=1
MARK_PRIORITY=10
MARK_GENERAL=20
MARK_BULK=30
DUMP...