Displaying 20 results from an estimated 160 matches for "ip2".
Did you mean:
ip
2006 Jun 09
5
Redirect Host to Host
Hello
I have a PC with 2 IPs publics IP1 in eth0 and IP2 in eth0:0
I want to do a redirection of IP2 to an other public IP IP3 in an other
laptop (other network)
- for all ports : IP2 ---> IP3
- for juste www : IP2:www --> IP3:www
i tried many combination with shorewall-3.0.7-4, but no sucess
no help from google,
Thanks in advance
Laurent
2004 Feb 06
1
ipfw question
Dear All.
I want to use 'not' for 2 addresses (for both) in ipfw2 rule.
The only way that looks like what I need is
# ipfw add count from IP1 to not IP2,IP3
But does this rule indeed makes what I want? Does it count all
packets destined to addresses other then IP2 AND IP3?!
No other syntax works.
For example more logically correct
not IP2 AND not IP3
or even
not { IP2 or IP3 }
are understood by ipfw2
man does not contain the good description of...
2004 Apr 15
2
Policy routing with IPFW
Hi There,
I've been having an issue trying to figure out a way to policy route
outbound packets from a multihomed machine through the proper interface
using IPFW to no avail.
I've tried several different incantations of IPFW fwd/forward
statements, and none of them seem to do the trick.
Basically, I have a host that has multiple Internet connections. This
host is running FreeBSD 4.9
2004 Jul 12
0
Multipath load balance issues
...quot;
## Provider 2 alias network
P2_ALIAS_NET="xxx.xxx.xxx.xxx/30"
## Interface for Provider 1
IF1="ppp0"
## Interface for Provider 2
IF2="eth1"
## Static IP Address of provider 1 connection
IP1="218.xxx.xxx.xxx"
## Static IP Address of provider 2 connection
IP2="202.xxx.xxx.xxx"
## Alias IP Address of provider 2 connection
SPIP1="203.xxx.xxx.xxx"
## Gateway address for provider 1
P1="202.154.xxx.xxx"
## Gateway address for provider 2
P2="202.53.xxx.xxx"
## Routing Table Config
ip route add $P1_NET dev $IF1 src $IP1...
2013 Sep 30
4
strange problem
Hi,
In log I get:
-----------------------------------------------------------
Sep 30 16:19:03 host kernel: Shorewall:FORWARD:REJECT:IN=eth0 OUT=eth0 SRC=ip1 DST=ip2 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=27279 DF PROTO=TCP SPT=51501 DPT=25 WINDOW=8192 RES=0x00 SYN URGP=0
----------------------------------------------------------
Even in /etc/shorewall/rules I have
-----------------------------------------------------------------------
ACCEPT net dm...
2013 Nov 15
2
2 routes & 1 destinations
...ne external server: 1 IP, it's an OVH dedicated
server.
The quick picture is http://s24.postimg.org/n3436z64l/defaul_route.png
Default route is via ISP1.
If OVH-server pings IP1:
- the request will go through ISP1: it's OK
- the reply will go through ISP1: it's OK
If OVH-server pings IP2:
- the request will go through ISP2: it's OK
- the reply will go through ISP1: it's KO because the metric will
involve ISP1
How could I tell the Office gateway (CentOS 6)
"IF you reply to a ping request from the OVH server that came on IP2
THEN route it via IP2"
--
+261 34 8...
2014 Feb 05
3
[Bug 896] New: You can not add the follow kinds of sets: mark, integer, string, lladdr
...edBy: anarey.spam at gmail.com
Estimated Hours: 0.0
Tt's impossible add these specific kinds of sets: mark, integer, string,
lladdr. Only you can add ipv4_address, ipv6_address (bug
https://bugzilla.netfilter.org/show_bug.cgi?id=895) and inet_service set.
(tests) $ sudo nft add set ip t-ip2 set-mark { type mark\;}
<cmdline>:1:34-37: Error: syntax error, unexpected mark, expecting string
add set ip t-ip2 set-mark { type mark;}
^^^^
(tests) $ sudo nft add set ip t-ip2 set-integer { type integer\;}
<cmdline>:0:30-44: Error: unqualified key da...
2006 Dec 24
1
Question regarding Split Access description
...e, by changing the destination values to be the internet
Ethernet interface of the other router for the other link? Eg:
Router 1 - Provider 1:
ip route add $P1_NET dev $IF1 src $IP1 table T1
ip route add default via $P1 table T1
ip route add $P2_NET gw $RTR2 src $IP2 table T2
ip route add default via $P1
ip rule add from $IP1 table T1
ip rule add from $IP2 table T2
ip route add default scope global nexthop via $P1 dev $IF1 weight
1 \
nexthop via $P2 gw $RTR2 weight 1
Router 2 - Provider 2:...
2004 Sep 17
8
cisco 7960 CTLSEP
...r--r-- 1 root wheel 124716 Aug 13 19:23 P0S3-07-2-00.bin
-rw-r--r-- 1 root wheel 461 Aug 13 19:44 P0S3-07-2-00.loads
-rw-r--r-- 1 root wheel 587122 Aug 13 19:40 P0S3-07-2-00.sb2
-rw-r--r-- 1 root wheel 571489 Aug 16 22:28 P0S3-07-2-00.zip
thank you!
---
Jan Baggen - jbaggen@ip2.nl
IP2 Internet BV / http://www.ip2.nl
2004 Dec 06
1
SIP response 302 "Moved Temporarily "
Does Asterisk 1.0.2 support 302 redirects? With 1.0.1 I get:
Got SIP response 302 "Moved Temporarily"
When forwarding the call to other SIP server.
This is a "bug":
http://lists.digium.com/pipermail/asterisk-users/2004-May/045774.html
---
Jan Baggen - jbaggen@ip2.nl
IP2 Internet BV / http://www.ip2.nl
2020 Jul 23
5
Off Topic bash question
...read -r LINE
do
NODENAME=` echo $LINE | cut -f 1 -d ','`
IP=` echo $LINE | cut -f 2 -d ','`
names[index]="$NODENAME"
ip[index]="$IP"
index=`expr index+1`
total=`expr total+1`
done <<< $(cat list.txt)
simple file:
more list.txt
name1,ip1
name2,ip2
name3,ip3
output when running:
sh -x ./test_bash.sh
+ index=0
+ total=0
+ names=()
+ ip=()
++ cat list.txt
+ read -r LINE
++ echo name1,ip1 name2,ip2 name3,ip3
++ cut -f 1 -d ,
+ NODENAME=name1
++ echo name1,ip1 name2,ip2 name3,ip3
++ cut -f 2 -d ,
+ IP='ip1 name2'
+ names[index]=name1
+...
2005 Jun 11
1
problem with ip route and multiple lans
...N3
I''ve add 3 records to rt_tables file T1, T2 and T3, and wrote scritp:
##
--------------------------------
#1ISP
P1_NET1="83.16.76.112"
ETH1="eth1"
IP1="83.16.76.114"
R1="83.16.76.113"
#2ISP
P2_NET2="80.55.42.32"
ETH2="eth2"
IP2="80.55.42.34"
R2="80.55.42.33"
#3ISP
P3_NET3=212.160.117.112
ETH3="eth3"
IP3="212.160.117.114"
R3="212.160.177.113"
#INTERNAL LAN
P0_NET="192.168.100.0"
ETH0="eth0"
IP0="192.168.100.1
#DMZ
P4_NET="10.1.1.0"
ETH4...
2007 Jul 05
4
Load Balancing , MSN and SSL
...ute add 192.168.33.0/24 via 10.1.2.1 dev eth1 src 10.1.2.2
ip route add 192.168.33.0/24 via 10.1.2.1 dev eth1 src 10.1.2.2table T1
ip route add 192.168.33.0/24 via 10.1.2.1 dev eth1 src 10.1.2.2table T2
}
IP1=xxx.xxx.xxx.18
IF1=eth0
P1_NET=xxx.xxx.xxx.16/30
P1=xxx.xxx.xxx.17
IP2=192.168.254.250
IF2=eth2
P2_NET=192.168.254.248/29
P2=192.168.254.254
ip route add $P1_NET dev $IF1 src $IP1 table T1
ip route add default via $P1 table T1
ip route add $P2_NET dev $IF2 src $IP2 table T2
ip route add default via $P2 table T2
ip route add $P1_NET dev $IF1 src $IP1
ip route add $...
2009 Oct 28
2
combining iptables parameters
Hi all,
is there a way to combine iptables parameters like: iptables -A OUTPUT
-p UDP & -p TCP -d $IP1 & -d $IP2 ?
Best Regards
Marcus
2004 Sep 23
2
Cisco 2610XM and Asterisk
...following error while booting:
%C542-1-UNKNOWN_VIC: VNM(1), vic daughter card has an unknown id of FF
Is the VIC-2BRI compatible with the 2610XM? What IOS needs to be loaded?
http://www.cisco.com/en/US/products/hw/modules/ps2641/products_tech_note0918
6a0080111b16.shtml
---
Jan Baggen - jbaggen@ip2.nl
IP2 Internet BV / http://www.ip2.nl
2007 Jan 19
2
2.6.17 kernels and equalize patch
Hi
Everybody in the list
I have a situation like this
------ (IP1)
linux |----eth0.40------ |
router | | |
box | (IP2) |------|Client Router ( Destiantion Net DNET)
|----eth0.41------ | | /27 subnet
------
I just want to balance the load of bandwidth per packet based between the
two vlan interfaces to Client Destination network
What i have done is :
//////////
bash#/sbin/i...
2005 Jul 09
1
Problems with iproute2
I''m using Debian (sarge)
I do now have 2 ISP, one DSL and one cabel.
I want to use the DSL as my primary and only use the cabel-modem if the DSL
fails.
The setup is:
IP1 -> Router -> NAT_IP1 -> eth0 -> eth2 (LAN)
IP2 -> Cable-Modem -> eth1 -> eth2 (LAN)
I wrote the following in my /etc/iproute2/rt_tables
ip rule add from NAT_IP1 lookup 1
ip route add 10.1.0.0/16 via 10.1.1.1 table 1
ip route add 0/0 via NAT_IP1 table 1
ip rule add from IP2 lookup 2
ip route add 10.1.0.0/16 via 10.1.1.1 table...
2006 Jan 05
5
multiple links and nat
...rules I''m using are roughly:
/sbin/ip route add P1_NET dev IF1 src IP1 table 201
/sbin/ip route add default via P1 table 201
/sbin/ip route add P1_NET dev IF1 src IP1
/sbin/ip route add 127.0.0.0/8 dev lo table 201
/sbin/ip rule add from IP1 table 201
/sbin/ip route add P2_NET dev IF2 src IP2 table 202
/sbin/ip route add default via P2 table 202
/sbin/ip route add P2_NET dev IF2 src IP2
/sbin/ip route add 127.0.0.0/8 dev lo table 202
/sbin/ip rule add from IP2 table 202
/sbin/ip route del default
/sbin/ip route add default scope global nexthop via P1 dev IF1 weight 1 nexthop via P2 de...
2006 Mar 28
1
IP route balance problem
...192.168.254.254
PING 192.168.254.254 (192.168.254.254) 56(84) bytes of data.
64 bytes from 192.168.254.254: icmp_seq=1 ttl=255 time=0.802 ms
And here is the script I use to do it work...
#!/bin/sh
P1_NET=192.168.1.0/24
IF1=eth1
IP1=192.168.1.128
P1=192.168.1.1
P2_NET=192.168.254.0/24
IF2=eth2
IP2=192.168.254.128
P2=192.168.254.254
ip addr add $IP1/24 brd + dev $IF1
ip addr add $IP2/24 brd + dev $IF2
ip link set $IF1 up
ip link set $IF2 up
ip route add $P1_NET dev $IF1 src $IP1 table T1
ip route add default via $P1 table T1
ip route add $P2_NET dev $IF2 src $IP2 table T2
ip route add def...
2006 Mar 26
1
vpn multihoming
...a script like the "load balancing split
access" instructions in the lartc howto, but it
doesn''t work. Here''s the important part of the script:
ip route add $P1_NET dev $IF1 src $IP1 table T1
ip route add default via $P1 table T1
ip route add $P2_NET dev $IF2 src $IP2 table T2
ip route add default via $P2 table T2
ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2
ip rule add from $IP1 table T1
ip rule add from $IP2 table T2
Note that ping works over the tunnel, over the
subnets, but the users on my LAN can''t have...