Displaying 20 results from an estimated 20 matches for "if0".
Did you mean:
if
2007 Jul 05
4
Load Balancing , MSN and SSL
.... I would link to know if with the nona
howto I could fix that .
I have been tried with no success to redirect that connection only to one
link but its look like do not work . Here my configuration :
#!/bin/bash
#
# Script Baseado em http://lartc.org/howto/lartc.rpdb.multiple-links.html
#
#
#
IF0=eth1
function interface_interna() {
VALOR_IP=0
while [ $VALOR_IP -lt 254 ] ; do
if [ $VALOR_IP -ne 33 ] ; then
P0_NET=192.168.${VALOR_IP}.0
IP0=192.168.${VALOR_IP}.1
ip route add $P0_NET dev $IF0 src $IP0 table T1...
2004 Jul 26
1
Load Balancing
...oesn´t.
By the way, I´m making NAT toward the Client PCs.
Do you have any idea why does it take so long to start
navigating and why sometimes it works and sometimes doesn´t.
This is the current script running in my server:
#=================================================
P0_NET=10.0.1.0/24
IF0=eth1
IP0=10.0.1.1
IF1=eth0
IP1=xxx.xxx.xxx.7
P1_NET=xxx.xxx.xxx.0/24
P1=xxx.xxx.xxx.1
IF2=eth2
IP2=yyy.yyy.yyy.21
P2_NET=yyy.yyy.yyy.0/24
P2=yyy.yyy.yyy.1
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter
echo 3 > /proc/sys/net/ipv4/route/g...
2012 Jan 10
2
making network configuration sticky in nexenta core/napp-it
Sorry for an off-topic question, but anyone knows how to make
network configuration (done with ifconfig/route add) sticky in
nexenta core/napp-it?
After reboot system reverts to 0.0.0.0 and doesn''t listen
to /etc/defaultrouter
Thanks.
2004 Aug 01
0
QOS
...oesn´t.
By the way, I´m making NAT toward the Client PCs.
Do you have any idea why does it take so long to start
navigating and why sometimes it works and sometimes doesn´t.
This is the current script running in my server:
#=================================================
P0_NET=10.0.1.0/24
IF0=eth1
IP0=10.0.1.1
IF1=eth0
IP1=xxx.xxx.xxx.7
P1_NET=xxx.xxx.xxx.0/24
P1=xxx.xxx.xxx.1
IF2=eth2
IP2=yyy.yyy.yyy.21
P2_NET=yyy.yyy.yyy.0/24
P2=yyy.yyy.yyy.1
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter
echo 3 > /proc/sys/net/ipv4/route/g...
2004 Aug 26
0
Problems with QOS
...oesn´t.
By the way, I´m making NAT toward the Client PCs.
Do you have any idea why does it take so long to start
navigating and why sometimes it works and sometimes doesn´t.
This is the current script running in my server:
#=================================================
P0_NET=10.0.1.0/24
IF0=eth1
IP0=10.0.1.1
IF1=eth0
IP1=xxx.xxx.xxx.7
P1_NET=xxx.xxx.xxx.0/24
P1=xxx.xxx.xxx.1
IF2=eth2
IP2=yyy.yyy.yyy.21
P2_NET=yyy.yyy.yyy.0/24
P2=yyy.yyy.yyy.1
echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/eth2/rp_filter
echo 3 > /proc/sys/net/ipv4/route/g...
2006 Mar 19
0
need help with route tables and policy routing please
...messy now because of all the silly things I''ve tried to get it working
the way I''d like. The ip route outputs below show a third nexthop to
the 70.25.176.129 address but I only have that currently running as a
test of outputing to all three ISP connections.
Kirk
#!/bin/bash
IF0=eth0
IP0=10.10.10.1
P0=70.25.176.129
P0_NET=10.10.10.0
IF1=eth1
IP1=70.25.176.154
P1=70.25.176.129
P1_NET=70.25.176.128
IF2=ppp0
IP2=209.213.232.127
P2=209.183.132.10
P2_NET=209.0.0.0
IF3=ppp1
IP3=69.63.33.227
P3=209.183.132.10
P3_NET=209.0.0.0
#ip route add $P0_NET dev $IF0 src $IP0 table 50
#ip...
2005 Apr 07
0
2 isp feeds, 2 networks and 3 fw/routers
...rds, here''s the picture
(hoping that gmail won''t mangle it):
________ ________
_/ \_ +----------------+ +-------+ /
/ \__ | | | | |
| DMZ ---+ if1 if0 +----+ ISP-1 +-------
\_ _/ | | | | /
\___________/ | Linux Router | +-------+ |
| | | /
| +----------------+ \
+------+-------+ fw1...
2004 Aug 17
16
Sanity check please !
I am setting to a shorewall system with 4 NIC''s as per the outline
specification below. Can anyone please have a look and let me know what I
have missed and what I have got wrong as I want to take this system live
ASAP but do not want to kill internet access and the hosting for too long !
I have listed below the system outline & have attached the config files that
I have changed, if
2004 Sep 23
0
two internet connections don''t appear to be masqing
I have a script for dual internet connections that does this:
-------------------------
#!/bin/bash
IF1=eth1
IP1=203.219.190.106
P1=203.219.190.105
P1_NET=203.219.190.104
IF2=eth2
IP2=220.245.224.46
P2=220.245.224.45
P2_NET=220.245.224.44
IF0=eth0
P0_net=192.168.0.0
TABLE1=inet1
TABLE2=inet2
ip route add $P1_NET dev $IF1 src $IP1 table $TABLE1
ip route add default via $P1 table $TABLE1
ip route add $P2_NET dev $IF2 src $IP2 table $TABLE2
ip route add default via $P2 table $TABLE2
ip route add $P1_NET dev $IF1 src $IP1
ip route add $...
2003 May 08
1
bridge and firewall
Can anyone help with this. Bridge is enabled, even in sysctl. Firewall is
enabled and configured. But my reality is done this way..
Cisco
(NATing
192.168.1.0/24) ---- Freebsd Bridge (Public IP) ------ stations
(Public IP) (NATing 172.16.0.0/24 192.168.1.xx
or something similar) 172.16.0.xx and on
one public IP one
2005 Feb 01
0
multiple uplinks example script
...step
connection (It is just theory).
1. Client --> Main server
2. Main Server --> Client ; Main server -> small server
3. Client -> small server
The problem is, when connection 1. use different uplink then connection 2.
Those icq related rules below corrected the problem.
My script:
IF0=eth2
IF1=eth1
IF2=eth3
IF3=eth0
P0_NET=192.168.1.0/24
P1_NET=public1
P2_NET=public2
IP0=192.168.1.254
IP1=publicip1
IP2=publicip1
#gateway
P1=publicgw1
P2=publicgw2
#table
T1=211
T2=212
T3=222
IP=/sbin/ip
# Delete everything
#$IP route flush cache
$IP route flush all
$IP route flush all table...
2005 Jun 28
1
Help - Firewall/Router Configuration
...modprobe ip_conntrack_ftp
iptables -F
iptables -X
iptables -t nat -F PREROUTING
iptables -t nat -F POSTROUTING
iptables -P INPUT DROP
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
#Virtual Interface on Internal Information:
ifconfig eth0:1 10.5.5.1 netmask 255.255.255.0
#VARIABLES:
#LAN:
IF0="eth0"
IP0="192.168.0.2"
P0="192.168.0.1"
P0_NET="192.168.0.0"
#WIF:
IF1="eth1"
IP1="<real IP>"
P1="<real IP>"
P1_NET="<real IP>"
#DSL:
IF2="eth2"
IP2="<real IP>"
P2="&...
2004 Aug 19
6
Re: Two Links and DNAT
...-
> > > Hash: SHA1
> > >
> > > Marcelo Mercio Dandrea wrote:
> > >
> > >> ip route add default via $P2
> > >> ip rule add from $IP1 table slow
> > >> ip rule add from $IP2 table fast
> > >> ip route add $P0_NET dev $IF0 table slow
> > >> ip route add $P2_NET dev $IF2 table slow
> > >> ip route add 127.0.0.0/8 dev lo table slow
> > >> ip route add $P0_NET dev $IF0 table fast
> > >> ip route add $P1_NET dev $IF1 table fast
> > >> ip route add 127.0.0.0/8 de...
2005 Jul 15
0
FW: LARTC Chapter 4.2, variation on a theme.
...er my real address)
$IP2 = 192.168.58.1
$P1 = $IP1 *DON''T KNOW IF THIS IS RIGHT, DON''T KNOW HOW TO FIND MY
PROVIDERS GATEWAY*
$P2 = 192.168.58.2 (DaveRouter)
$P1_NET = 80.blah.blah.0/24 (got $IP1 and $P1_NET from ip route show)
$P2_NET = 192.168.58.0/24
$P0_NET = 192.168.58.0/24
$IF0 = br0
If I set up all the routes using those values, test browsing around is
flakey.
Some pages load, some don''t (one connection working, one not?)
I *can* use one connection *OR* the other connection.
But only if I manually re-write /etc/resolv.conf to contain the correct
DNS servers fo...
2005 Jul 18
0
Load balancing (LARTC 4.2) over 2 connections on 2 routers.
...er my real address)
$IP2 = 192.168.58.1
$P1 = $IP1 *DON''T KNOW IF THIS IS RIGHT, DON''T KNOW HOW TO FIND MY
PROVIDERS GATEWAY*
$P2 = 192.168.58.2 (DaveRouter)
$P1_NET = 80.blah.blah.0/24 (got $IP1 and $P1_NET from ip route show)
$P2_NET = 192.168.58.0/24
$P0_NET = 192.168.58.0/24
$IF0 = br0
If I set up all the routes using those values, test browsing around is
flakey.
Some pages load, some don''t (one connection working, one not?)
I *can* use one connection *OR* the other connection.
But only if I manually re-write /etc/resolv.conf to contain the correct
DNS servers fo...
2006 Jun 16
1
problem with multi gatway routing
...i,
i wann to make multigateway routing and i read ur how to on http://lartc.org/howto/lartc.rpdb.multiple-links.html and create some rules which i am sending u, but with this rules i am not able to do multigateway routing on my linux router so plz help me out.
thanks
the rules are given below
IF0=eth0
IF1=eth1
IF2=eth2
IP1=192.168.1.2
IP2=61.246.243.86
P1=192.168.1.1
P2=61.246.243.81
P1_NET=192.168.1.0/24
P2_NET=61.246.243.0/28
P0_NET=10.10.0.0/16
ip route add 192.168.1.0/24 dev eth1 src 192.168.1.2 table T1
ip route add default via 192.168.1.1 table T1
ip route add 61.246.243...
2005 Nov 24
0
Load Balancing/NAT
...if anyone had
any changes I should make before I basically go live to run the test.
One thing I have not added yet is the interfacing to eth0 (Internal
addressing) which I am unsure how to code exactly. Thanks for any help
anyone can give.
SCRIPT FOLLOWS:
#!/bin/sh
#Define my vars
#Interfaces
IF0=eth0
IF1=eth1
IF2=eth2
IF2=eth3
IF2=eth4
IF2=eth5
IF2=eth6
#IP Addresses bound to interfaces
IP0=10.10.1.1 #Internal Interface Address
IP1=10.254.7.1 #Satellite 1 Interface
IP2=10.254.9.1 #Satellite 2 Interface
IP3=10.254.10.1 #Satellite 3 Interface
IP4=10.254.16.1 #Satellite 4 Interface
IP5=10.25...
2006 Apr 04
4
Multi ISP, multi address, masq file
I''m planning a multi isp setup and cafully read the
documentation. One thing that bothers me is the masq
file. The example uses a single ip address on each
public interface. I have multiple addresses on both
public interfaces (16 on one and 64 on the other).
I''m a bit confused about what to put in the masq file
in this situation. Any insights would be appreciated.
Ronald
--
2019 Jan 02
2
Samba - Bind9 DNS - ISC-DHCP - obsolete DNS entries
...P port #>] [-f] [-d] [-q] [-t|-T]*
* [-4|-6] [-cf config-file] [-lf lease-file]*
* [-user user] [-group group] [-chroot dir]*
* [-tf trace-output-file]*
* [-play trace-input-file]*
* [-pf pid-file] [--no-pid] [-s server]*
* [if0 [...ifN]]*
*If you think you have received this message due to a bug rather*
*than a configuration issue please read the section on submitting*
*bugs on either our web page at www.isc.org <http://www.isc.org> or in the
README file*
*before submitting a bug. These pages explain the proper*
*...
2013 Jan 23
132
[PATCH 00/45] initial arm v8 (64-bit) support
First off, Apologies for the massive patch series...
This series boots a 32-bit dom0 kernel to a command prompt on an ARMv8
(AArch64) model. The kernel is the same one as I am currently using with
the 32 bit hypervisor
I haven''t yet tried starting a guest or anything super advanced like
that ;-). Also there is not real support for 64-bit domains at all,
although in one or two places I