Displaying 20 results from an estimated 4000 matches similar to: "fwmark and u32"
2006 Nov 02
0
src routing and fwmark
Hi,
I''ve got 2 lines from two diffrent ISP''s, one is a leased line and another a
DSL line,
I route certain ips over the DSL line for faster access and would like
email to go over the leased line as it has a static ip and is our sending
mailserver ip
I would like to send mail to the same ips that is routed over DSL via the
leased line, otherwise my server gets blacklisted with
2004 Nov 19
3
mixing u32 and fwmark
Hi!
There is one thing I can''t do. In my country we have to pay for
"foreign" internet. Local internet is cheap and fast, but foreign is
slow and expensive. So I want do following:
mark every packet with iptables, where --set-mark 1 for foreign
internet, but --set-mark 2 for local internet
next when I got all traffic marking, I need to assign traffic to users
so I make
2003 Sep 18
0
hexadecimal fwmark and fwmark mask
Hi list,
I''m new to this list, I just subscribed because I have some ackward
about IPRoute2.
First, while playing with NetFilter'' "MARK" target, I met a weird
behaviour once I tried to use this marks in the RPDB : the packets
where successfully marked, but it seemed that RPDB didn''t succed in
matching them (for those who already know the answer, I only used
2003 Mar 04
2
Routing based on fwmark
I''m having trouble routing on high fwmarks, I want to use a lot of
different marks for 2 routes so that I can QoS based on the marks
ip rule looks like this:
0: from all lookup local
32751: from all fwmark 31 lookup dslout
32752: from all fwmark 30 lookup dslout
32753: from all fwmark 29 lookup dslout
32754: from all fwmark 28 lookup dslout
32755: from
2006 Feb 06
0
ip rule, fwmark, mangle and src IP
I made a script to test if in a moultiple gateway setup all default
connection are up, regardless of the fact that that gateway is the default
gw.
Suppose adsl1 and adsl2 are present, and all traffic goes by default to
adsl1, and you want to test if adsl2 is ok.
1. I use mangles from iptables to mark icmp packets to some test machines
2. I set up a routing table for each adsl
3. I use
2008 Jan 08
8
Shorewall and LVS-NAT (via fwmark) nat'd machines can't access the outside world directly
Hi guys,
I''m not sure where to post for help on this one, shorewall or lvs, I''ll
start with shorewall (only cause Tom is a gun at this stuff, and is polite
enough to tell me to bugger off to the LVS list if I''m posting in the wrong
one ;)
I have a single box that is my router/firewall/LVS.
Internet -- eth0 - router/firewall - eth1 --- internal lan
|
eth2
2005 Nov 29
0
fwmark port - dual adsl line
Hi all,
Below is my network diagram: -
eth0 (adsl 1) eth1 (adsl 2)
| |
| |
| |
| |
-----------------
| |
| Gateway |
| |
-----------------
|
|
|
tun0
Below is my iptables scripting to mark certain ports:
-
2002 Aug 15
0
conditional routing based on tos/fwmark not working with ipsec
Hello all,
I am working with kernel 2.2.20 with the necessary options configured into
the kernel to support all of the wonderfully fancy routing features:
- routing based on ToS
- routing based on fwmark
- multiple routing tables
This same kernel is in use elsewhere, and is routing based on fwmark with
success. This leads me to believe that my kernel is OK and that I have
another
2004 Jan 07
0
Match packet mark with --set-mark to ip rule fwmark
Hi,
Here I am trying something simple.
My objective is to make ip rule fwmark command work :)
Network Diagram:
--- 192.168.250.197 (eth0) Linux Box (eth1) 192.168.8.88 -------------192.168.8.122 (eth0) Windows XP Client
Configuration done on Linux Box:-
(1) [root@g webauth]# iptables -t mangle -A PREROUTING -j MARK --set-mark 5
[root@g webauth]# iptables -t mangle -L
Chain PREROUTING (policy
2006 Apr 07
9
u32 and iptables do not work together
Hello all,
I am trying to make a filter into my QoS rules and I founded that
when I try to use filters u32 and with fwmark they do not work together.
This is the filter I use, just and example, for u32:
$TC filter add dev $DL parent 1:0 protocol ip prio 1 u32 match ip sport
22 0xffff flowid 1:10
This is working fine. Now if I try to mark a package that I want it
to go to the same
2006 Mar 31
0
rule fwmark desn''t work for local packets (output chain)
Witam wszystkich
After few days with yours help I''ve succeeded with setup of load-balancing.
Now I have problem with next step. I want to mark some packets and than put
them to the one of the routing tables to force them going via only one
interface with only one ip. Easy?? Ofcourse, but not for me :(.
I''m NOT using NAT.
Chain OUTPUT (policy ACCEPT 71 packets, 24227
2005 Nov 15
3
can I use tos and fwmark at the same time?
Hello lartc maintainers and users!
I have a router with two NICs. One NIC is connected to the Internet and the other to my internal LAN. I made a script for priorizing interactive traffic. The script matches TOS Minimize-Delay for priorizing interactive trafic, and fwmark for metropolitan packets.
I have two root classes (simulating two circuits) : 1:1 for internet and 1:3 for metropolitan.
2005 Oct 30
0
FWMARK ROUTING OVER MULTIPLE ROUTERS/LANS
I would like to route ssh in my network via DSL2 and all other trafic via
DSL1.
So far I menaged to do it for LAN2 but there are still WLAN1,LAN3 and LAN1 to
go.
On all routers I added table "pilicka" with rule for fwmark and I fwmarked
ssh.
# ip rule show
0: from all lookup local
32765: from all fwmark 0x3 lookup pilicka
32766: from all lookup main
32767: from all lookup
2006 May 05
3
iptables CLASSIFY vs fwmark?
Could someone comment on the benefits of using CLASSIFY vs fwmark (or
vice versa) in iptables?
I''m getting ready to implement some basic tc for VoIP and most of the
examples seem to use the (older?) fwmark syntax. Should I convert these
to CLASSIFY? Can the two syntaxes be mixed? Also with U32?
TIA,
Edwin
--
<=+=+=+==+=+=+==+=+=+=+=+=+=+=+=>
Edwin Whitelaw, P.E.
New River
2003 Mar 15
0
[Bug 63] New: fwmark loopback routing issue
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=63
Summary: fwmark loopback routing issue
Product: netfilter/iptables
Version: linux-2.4.x
Platform: i386
OS/Version: RedHat Linux
Status: NEW
Severity: normal
Priority: P2
Component: ip_tables (kernel)
AssignedTo:
2010 Oct 13
3
Routing local generted packets with fwmark
Hi all,
I need to route local generated packages depending on which tcp or udp
service I need to use. To accomplish this I have configured two routing
tables:
[root at lothlorien ~]# ip ru ls
0: from all lookup 255
32762: from all fwmark 0x2 lookup FirstLan
32763: from all fwmark 0x1 lookup SecondLan
32764: from 172.25.80.10 lookup SecondLan
32765: from 172.25.70.18 lookup FirstLan
2005 Oct 06
1
HTB problem running on VLAN, not working
Hello.
I''m running linux box with Slackware 9.1 and compiled kernel 2.4.31 with "yes" to VLANs and "yes" to all QoS.
On this box i have more ethernet interfaces:
eth0
eth1
eth2
and so as more vlan interfaces:
eth0.100
eth1.3
eth1.4
This is entrace(uplink) router to our whole network and my goal is to shape users on this machine.
I want for this purpose use HTB so
2005 Jul 01
0
split access & fwmark
Hi,
I had a nice router which was able to split my outgoing webtraffic over a
dsl line,
then I got a power failure and now my settings are lost and I don''t get it
to run.
I''ve configured a iptable rule like:
/sbin/iptables -A PREROUTING -t mangle -i eth1 -s 192.168.1.10 -p TCP
--dport 80 -j MARK --set-mark 1
and
ip rule add fwmark 1 lookup 10
ip route add default via
2004 Oct 15
0
iproute with fwmark
Hi,
not sure if it will work, i''ve 2 leased lines, behind line 1 is a webserver,
this
server should answer all incomming http requests through leased line 1, the
webserver
self parses other webserver, this outbound traffic should go over leased
line 2.
i''ve successfully added fwmark with iproute, but if i set the policy for the
webserver to
use leased line 2 (for parsing other
2003 Jul 10
0
fwmark(ing) in OUTPUT; has anyone had success?
hi all,
sorry for the re-post, but i am in a bad way ...
trying to fwmark in OUTPUT --mangle has led to a null result for a
routing table lookup.
has anyone successfully accomplished this -- can you comment on your
distro/iptables version ?
in your debt,
charles
on redhat 8 with iptables 1.2.8
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl