02-22-2002
Thank you very much
It really worked . and the idea is very reasonble.
You know what I did to have more than 2 IPs?
I put the following commands in the start up (rc.local):
ip address add x.x.x.x/x dev eth0
and it works but it's a bit .... I don't like it.
Thanks anyway
10 More Discussions You Might Find Interesting
1. Linux
Had problems in configuring USB memory stick in RHL 9.
Please assist.
With regards,
Kungra. (1 Reply)
Discussion started by: kungra2006
1 Replies
2. Shell Programming and Scripting
Hi,
I want to configure 2-gateways in Linux .
Please tell me how I can achieve this. I am accesing 2-internet
connection through these 2-gateways. So I am looking that
if 1-gets down then also other one is working.
Regards
JAGDISH (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies
3. Solaris
hi friends,
I have brand new Sun Ultra 20 WS installed.
It was preinstalled with Solaris 10 6/06 system,
in ifconfig -a command only loop back intervace is showing.
and
/etc/path_to_install also not able to find the interface name.
my questions are:
1. Is there any command to get... (1 Reply)
Discussion started by: subhankar
1 Replies
4. Red Hat
Hi All
when I give the command,
$ ping <hostname>
I get the following error
ping: unknown host <hostname>
I have checked in the following files,
/etc/sysconfig/network
/etc/hosts
/etc/resolv.conf
/etc/nsswitch.conf
Every where in these files host name and IP address are given... (2 Replies)
Discussion started by: nagapradeep
2 Replies
5. AIX
I have a server with multiple network interfaces. 2 of these interfaces, lets say en2 and en6 make up an etherchannel interface, which let's say en8.
when I run the command
lsattr -El ent8
I can see the designated primary and backup interfaces as ent6 and ent2, in the given order. But... (10 Replies)
Discussion started by: thenomad
10 Replies
6. UNIX for Advanced & Expert Users
Can anybody please explain the below table to monitor NTP daemon status
This contains many columns like remote,refid,st....various values corresponding to those columns
If possible provide me any link to study about these quantities clearly.
It is very much required for my project please... (3 Replies)
Discussion started by: sgand
3 Replies
7. IP Networking
i have a linux server runnig oracle applications.
i need to access this server from putty using ssh through internet.
i did by registering my static ip with the dnydns.org and i am able to connect to the server.
but now there is no security to authenticate any user as any one knowing the... (6 Replies)
Discussion started by: u.n.i.x
6 Replies
8. Infrastructure Monitoring
I am trying to enabling SNMP access and trap forwarding for Linux(RHEL5) using following official url from IBM.
http://publib.boulder.ibm.com/infocenter/eserver/v1r2/index.jsp?topic=/diricinfo/fqm0_t_enabling_snmp_access_and_trap_forwarding_for_linux.html
In my system, snmp and snmplibs are... (1 Reply)
Discussion started by: SiddhV
1 Replies
9. IP Networking
Can someone help with a detail step-by-step oh how to configure DNS server on Linux Server.
-
I need to have 3 IP addresses map to a single hostname.
for clients
I'm a Linux rookie.
Thanks
Oscar (1 Reply)
Discussion started by: FrankOscar
1 Replies
10. Red Hat
Dear Experts,
We have requirement to configure Dot matrix printer in linux, Also need to register in Oracle application R12.0.6 version where i need get the print in landscape format.
Request you all kindly help on the same.
Thank you,
Alone.
---------- Post updated 02-18-14 at 01:02... (6 Replies)
Discussion started by: Alone
6 Replies
LEARN ABOUT MOJAVE
tc-ife
IFE action in tc(8) Linux IFE action in tc(8)
NAME
IFE - encapsulate/decapsulate metadata
SYNOPSIS
tc ... action ife DIRECTION [ ACTION ] [ dst DMAC ] [ src SMAC ] [ type TYPE ] [ CONTROL ] [ index INDEX ]
DIRECTION := { decode | encode }
ACTION := { allow ATTR | use ATTR value }
ATTR := { mark | prio | tcindex }
CONTROL := { reclassify | use | pipe | drop | continue | ok | goto chain CHAIN_INDEX }
DESCRIPTION
The ife action allows for a sending side to encapsulate arbitrary metadata, which is then decapsulated by the receiving end. The sender
runs in encoding mode and the receiver in decode mode. Both sender and receiver must specify the same ethertype. In the future, a regis-
tered ethertype may be available as a default.
OPTIONS
decode For the receiving side; decode the metadata if the packet matches.
encode For the sending side. Encode the specified metadata if the packet matches.
allow Encode direction only. Allows encoding specified metadata.
use Encode direction only. Enforce static encoding of specified metadata.
mark [ u32_value ] The value to set for the skb mark. The u32 value is required only when use is specified. If mark value is zero, it will
not be encoded, instead "overlimits" statistics increment and CONTROL action is taken.
prio [ u32_value ] The value to set for priority in the skb structure. The u32 value is required only when use is specified.
tcindex [
u16_value ] Value to set for the traffic control index in the skb structure. The u16 value is required only when use is specified.
dmac DMAC
smac SMAC
Optional six byte destination or source MAC address to encode.
type TYPE
Optional 16-bit ethertype to encode. If not specified value of 0xED3E will be used.
CONTROL
Action to take following an encode/decode.
index INDEX
Assign a unique ID to this action instead of letting the kernel choose one automatically. INDEX is a 32bit unsigned integer greater
than zero.
EXAMPLES
On the receiving side, match packets with ethertype 0xdead and restart classification so that it will match ICMP on the next rule, at prio
3:
# tc qdisc add dev eth0 handle ffff: ingress
# tc filter add dev eth0 parent ffff: prio 2 protocol 0xdead
u32 match u32 0 0 flowid 1:1
action ife decode reclassify
# tc filter add dev eth0 parent ffff: prio 3 protocol ip
u32 match ip protocol 0xff flowid 1:1
action continue
Match with skb mark of 17:
# tc filter add dev eth0 parent ffff: prio 4 protocol ip
handle 0x11 fw flowid 1:1
action ok
Configure the sending side to encode for the filters above. Use a destination IP address of 192.168.122.237/24, then tag with skb mark of
decimal 17. Encode the packaet with ethertype 0xdead, add skb->mark to whitelist of metadatum to send, and rewrite the destination MAC
address to 02:15:15:15:15:15.
# tc qdisc add dev eth0 root handle 1: prio
# tc filter add dev eth0 parent 1: protocol ip prio 10 u32
match ip dst 192.168.122.237/24
match ip protocol 1 0xff
flowid 1:2
action skbedit mark 17
action ife encode
type 0xDEAD
allow mark
dst 02:15:15:15:15:15
SEE ALSO
tc(8), tc-u32(8)
iproute2 22 Apr 2016 IFE action in tc(8)