search for: ip1

Displaying 20 results from an estimated 165 matches for "ip1".

Did you mean: ip
2009 Dec 04
2
hey please help me my 3rd email of how to change From fileld username in sip packet
...field as you can see below astrisk is sending the calling ID as "asterisk" and username same , What i want is that it should forward some CLI in From Field , I have done my best effort but still not resolved i am adding a callerid in script still same please help me if some one can IP1:5060 -> IP2:5060 INVITE sip:0423347871787 at IP2:5060 SIP/2.0..Via: SIP/2.0/UDP IP1:5060;branch=z9hG4bK- 966123148--16781 75694--693700493-4-..Via: SIP/2.0/UDP IP1:5065;branch=z9hG4bK00749b6d;rport..Call-Id: 4f8a33b207cd65f060b083b57 804dac8 at IP1..To <804dac8 at 117.20.20.234..To>: &l...
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
2020 Jul 23
5
Off Topic bash question
...p=() while 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...
2006 Jan 25
32
[Bug 429] -j REDIRECT does not appear to work correctly
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=429 ------- Additional Comments From laforge@netfilter.org 2006-01-25 11:00 MET ------- Please specifically tell us about the exact kernel version, any patches that you might have applied, and the iptables version that you're using. -- Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email ------- You
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 desc...
2006 Dec 24
1
Question regarding Split Access description
...ter - if I had two routers, one connected to each of the two providers, are those setup commands applicable, 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...
2015 May 18
2
tinc stopped working after restart
...d Started with checking my clock. It was 15 min out of sync. But it had no effect to sync it. Tried another restart and a reboot of the server, but no effect. I've been trying to keep all nodes at same version (1.1Pre10) but not all of them are. Node1 is Pre10 Node 14,15 and 16 is at 1.1Pre11 IP1 through IP15 is substituted IP addresses logentrys "log 5" in Node1 (1.1pre10 )(star node) regarding Node15 (1.1pre11): Connection from IP15 port 57815 Sending ID to <unknown> (IP15 port 57815): 0 Node1 17.3 Sending 11 bytes of metadata to <unknown> (IP15 port 57815) Got ID f...
2005 Jun 11
1
problem with ip route and multiple lans
...| -------------- Internal Router -------------- LAN1 LAN2 LAN3 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...
2007 Jul 05
4
Load Balancing , MSN and SSL
...fi VALOR_IP=$(expr $VALOR_IP + 1) done ip route 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 defaul...
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
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 Clie...
2002 Nov 01
0
The split access puzzled me
Hi, Very sorry for my poor Enlgish because I''m not a native speaker. I had read the lartc HOWTO and ip-cref very hard but puzzled by those commands in lartc, 4.2.1. Split access. They are (only xx1 listed): ip route add $P1_NET dev $IF1 src $IP1 table T1 ip route add default via $P1 table T1 ip route add $P1_NET dev $IF1 src $IP1 ip route add default via $P1 ip rule add from $IP1 table T1 I think here "ip rule add from $IP1 table T1" means, the IP package which source address is $IP1 will be passed to table T1. Such packages, on...
2006 Jan 05
5
multiple links and nat
...ot;MASQUERADE: Route sent us somewhere else." error. googling for that, I see lots of suggestions to use connmark, but no examples of how connmark and the multiple link stuff interact. Does anyone have a pointer? The 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_...
2004 Jul 12
0
Multipath load balance issues
....154.xxx.0/24" ## Provider 2(NTT) network P2_NET="202.53.xxx.xxx/30" ## 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.5...
2006 Mar 28
1
IP route balance problem
....168.1.1: icmp_seq=1 ttl=128 time=0.726 ms root@enrutizador:~# ping 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 T...
2004 Jan 29
1
RE: LARTC digest, Vol 1 #1564 - 6 msgs
...f this would work, maybe it should be documented in the advanced > : routing howto, as I can see how there might be a lot of people out > : there who would find it useful. > > Let me suggest a possibility, if we assume a nested configuration. > Let''s say you have IP0 and IP1 active on interface eth3 and you want > to make sure that bandwidth is split 75/25 between these two and you > want them to share bandwidth. Classic bandwidth-sharing > situation....in the tcng config below, you''d need to #define IP0 and > IP1, but then you''d have...
2004 Jan 15
3
Shaping Device Aliases
Hi. I understand that device aliases (e.g. eth2:3) are not shapeable. Does anybody know if this functionality is planned in the future? Anyway, for the time being the only option that seems to leave is to fwmark packets differently for each device alias and then shape based on that. Is it possible to set multiple marks on the packets? Alternatively, is it possible to check for a specific
2006 Mar 26
1
vpn multihoming
...gh the eth0 interface and the other half through the tun0 interface. I''ve set up 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...
2020 Jul 23
0
Off Topic bash question
...al++)) > done <<< $(cat list.txt) done < list.txt The "<<<" operator does all manner of expansion of the input and supplies it as a single line. That not what you want. Just redirect stdin from the file instead. > 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 This is happening because of the <<< operator. > ++...
2012 Apr 16
1
bridge connection and two linux servers
...| +---- eth1 +----------------+ eth0 | +-----------------+ +------------------+ ( cable connection ) Two public IP's are to be configured like follows : + **eth0** and **eth1** of **Centos6-1 are to be configured as a bridge with IP1 - **Centos6-1** can be accessed with IP1 - **eth0** of **Centos6-2** is configured with IP2 - any request destined to IP2 will flow through **Centos6-1** How can i accomplish this feat? There is a service running in the second server. This service will bind to IP2. what will happen If i do th...