04-27-2016
Help with DHCP Forwarding
Hi all. I'm not sure I'm posting this in the correct forum. Let me know if I should move it.
I'm trying to setup a downstream router. I have a fairly standard gateway box that provides NAT, DCHP, etc. I want to add another router for QOS.
I'd like to go from the gateway to the QOS box, then out to the LAN/WAN. I assume I need to go into the WAN side of the QOS box to get QOS. I'd also like DHCP to pass through the QOS box and provide DHCP for the LAN-side clients - everything on 10.0.1.0/24.
I can't get through from the LAN side of the QOS box to the gateway. I guessing I need to add some filters (iptables) to the QOS box.
Any suggestions?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I would like to set up an E-mail forwarding service like Netaddress whereby users would be able to create an E-mail account in my domain name and have all the mail sent to that account forwarded to an alternate address they specify.
I know that I can redirect mail sent to my domain using... (1 Reply)
Discussion started by: BigBro
1 Replies
2. Shell Programming and Scripting
Hello,
I have created a .forward file to automatically forward all e-mails from my unix account to a webmaster account.
I want to know if an e-mail that is carrying a virus could infect my server or the server with the webmaster account, or both servers ? (2 Replies)
Discussion started by: silver40
2 Replies
3. IP Networking
Can anyone out there explain to me how to multi home a nic? I hate to say it but I'm a windows guy forced to learn Unix. The issue I currently have is I can't changed the ip on eth0, but in order to make it pingable by other servers I need to multi home the nic with a totally seperate Ip. Any help... (1 Reply)
Discussion started by: win2khater
1 Replies
4. UNIX for Advanced & Expert Users
Hi
I want to set up port forwarding from one network to another network. I already have this configured on the Linux box using iptables.
iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 1521 -j DNAT --to 10.218.146.230
iptables -A FORWARD -p tcp -i eth1 -d 10.218.146.230 -j ACCEPT
... (2 Replies)
Discussion started by: slash_blog
2 Replies
5. Solaris
Hello everybody,
I have solaris 10 running on SF v890, I need to forward some sepecific root mails resulted from some application, (or all root mails) to other machine running Solaris 10 also.
does it have anything to do with mail relay, or just change the log settings???
Thanks in Advance... (1 Reply)
Discussion started by: aladdin
1 Replies
6. Cybersecurity
Hi,
from my workplace we use a proxy to connect to the outside world, including external ssh servers.
The problem is that the server is seeing the connection coming from the proxy and knows nothing about the client behind it. The ssh connection itself works fine, but x-forwarding does not work as... (1 Reply)
Discussion started by: vampirodolce
1 Replies
7. UNIX for Advanced & Expert Users
I 've a domain and a server say mydomain.org
I need to forward all the mails i receive over here ie.
admin@mydomain.org , hello@mydomain.org , anything@mydomin.org etc.,
to another address which is admin@anotherdomain.org , hello@anotherdomain.org , anything@anotherdomain.org.
i'm using... (3 Replies)
Discussion started by: bbala
3 Replies
8. AIX
X Forwarding has quit working on only 2 of our AIX Servers.
ssh -X -vvv host
That shows it requesting the X11 forward auth spoofing.
No errors.
echo $DISPLAY shows the display variable
However when I execute xclock.... nothing... Kinda like it just hangs and for some reasons it does... (1 Reply)
Discussion started by: Gibby13
1 Replies
9. IP Networking
Hi All ,
please view the set up below:
-------------------------------------------------------------------
| DHCP Server |-----------| ROUTER & |-----------| Clients |
| 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X |
... (2 Replies)
Discussion started by: gdangoor
2 Replies
10. UNIX for Advanced & Expert Users
Hi experts,
We have windows machine ( A ) in one network & 2 Linux Servers ( B & C ) in another network. There is a firewall between these 2 networks and SSH (TCP/22) & HTTPS (TCP/443) are allowed from A to B only (but not to C). There is no personal firewall / iptables running on any machine.... (1 Reply)
Discussion started by: magnus29
1 Replies
MQPRIO(8) Linux MQPRIO(8)
NAME
MQPRIO - Multiqueue Priority Qdisc (Offloaded Hardware QOS)
SYNOPSIS
tc qdisc ... dev dev ( parent classid | root) [ handle major: ] mqprio [ numtc tcs ] [ map P0 P1 P2... ] [ queues count1@offset1
count2@offset2 ... ] [ hw 1|0 ] [ mode dcb|channel] ] [ shaper dcb| [ bw_rlimit min_rate min_rate1 min_rate2 ... max_rate max_rate1
max_rate2 ... ]]
DESCRIPTION
The MQPRIO qdisc is a simple queuing discipline that allows mapping traffic flows to hardware queue ranges using priorities and a config-
urable priority to traffic class mapping. A traffic class in this context is a set of contiguous qdisc classes which map 1:1 to a set of
hardware exposed queues.
By default the qdisc allocates a pfifo qdisc (packet limited first in, first out queue) per TX queue exposed by the lower layer device.
Other queuing disciplines may be added subsequently. Packets are enqueued using the map parameter and hashed across the indicated queues in
the offset and count. By default these parameters are configured by the hardware driver to match the hardware QOS structures.
Channel mode supports full offload of the mqprio options, the traffic classes, the queue configurations and QOS attributes to the hardware.
Enabled hardware can provide hardware QOS with the ability to steer traffic flows to designated traffic classes provided by this qdisc.
Hardware based QOS is configured using the shaper parameter. bw_rlimit with minimum and maximum bandwidth rates can be used for setting
transmission rates on each traffic class. Also further qdiscs may be added to the classes of MQPRIO to create more complex configurations.
ALGORITHM
On creation with 'tc qdisc add', eight traffic classes are created mapping priorities 0..7 to traffic classes 0..7 and priorities greater
than 7 to traffic class 0. This requires base driver support and the creation will fail on devices that do not support hardware QOS
schemes.
These defaults can be overridden using the qdisc parameters. Providing the 'hw 0' flag allows software to run without hardware coordina-
tion.
If hardware coordination is being used and arguments are provided that the hardware can not support then an error is returned. For many
users hardware defaults should work reasonably well.
As one specific example numerous Ethernet cards support the 802.1Q link strict priority transmission selection algorithm (TSA). MQPRIO
enabled hardware in conjunction with the classification methods below can provide hardware offloaded support for this TSA.
CLASSIFICATION
Multiple methods are available to set the SKB priority which MQPRIO uses to select which traffic class to enqueue the packet.
From user space
A process with sufficient privileges can encode the destination class directly with SO_PRIORITY, see socket(7).
with iptables/nftables
An iptables/nftables rule can be created to match traffic flows and set the priority. iptables(8)
with net_prio cgroups
The net_prio cgroup can be used to set the priority of all sockets belong to an application. See kernel and cgroup documentation for
details.
QDISC PARAMETERS
num_tc Number of traffic classes to use. Up to 16 classes supported.
map The priority to traffic class map. Maps priorities 0..15 to a specified traffic class.
queues Provide count and offset of queue range for each traffic class. In the format, count@offset. Queue ranges for each traffic classes
cannot overlap and must be a contiguous range of queues.
hw Set to 1 to support hardware offload. Set to 0 to configure user specified values in software only.
mode Set to channel for full use of the mqprio options. Use dcb to offload only TC values and use hardware QOS defaults. Supported with
'hw' set to 1 only.
shaper Use bw_rlimit to set bandwidth rate limits for a traffic class. Use dcb for hardware QOS defaults. Supported with 'hw' set to 1
only.
min_rate
Minimum value of bandwidth rate limit for a traffic class.
max_rate
Maximum value of bandwidth rate limit for a traffic class.
AUTHORS
John Fastabend, <john.r.fastabend@intel.com>
iproute2 24 Sept 2013 MQPRIO(8)