07-19-2013
How to set gateway address to a particular interface?
How to set gateway address to a particular interface? waht are the files need to update to make it permanent?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I change the IP address and gateway info on a unix server? (2 Replies)
Discussion started by: gguzman
2 Replies
2. UNIX for Dummies Questions & Answers
Hi, I'm new to unix and have absolutely no experience with it. I am trying to change the network setting on the only computer on our network with SCO Unix. We switched ISP's and now have a new set of IP's. I can't for the life of me figure out how to go in and change these settings, please help.... (12 Replies)
Discussion started by: PBNOSGT
12 Replies
3. UNIX for Dummies Questions & Answers
How can I change the gateway address on my sco Openserver 5.0.6. A cisco firewall is recently installed but the gateway on the system is still pointing at the old one.
I want it to use the gateway address of the router.
Please help. Thanks (2 Replies)
Discussion started by: sshokunbi
2 Replies
4. Programming
how we can get the gateway address.
i know gethostname used for ipaddress
how we can get the system gateway address.
thank u inadvance,
sree (2 Replies)
Discussion started by: phani_sree
2 Replies
5. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
6. IP Networking
Is there a command that can lookup ip address, subnet mask, gateway, and dns all at the same. I know ifconfig can lookup ip address and subnet mask. I know route -n can lookup gateway. Not sure about a dns command. So I hope there is a way to lookup ip address, subnet mask, gateway, and dns all at... (2 Replies)
Discussion started by: cokedude
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Using Redhat 6.1 with all the latest patches. I have the default gateway address but it never gets loaded. I have to add that manually? Not sure. Any idea. Is there any other place which I need to add?
/etc/sysconfig/network-scripts/ifcfg-em1
DEVICE="em1"... (2 Replies)
Discussion started by: samnyc
2 Replies
8. UNIX for Advanced & Expert Users
Hi ,
Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies
9. Red Hat
Hi all,
i have a rhel 6.2 with a default gateway.
This server is an Intranet office with no internet access.
DNS are already configured and it's possible to resolve my target.
My goal is to link my application (apache forward) only to http://mytarget.yyy through a new gateway (That does... (0 Replies)
Discussion started by: kamose
0 Replies
10. UNIX for Beginners Questions & Answers
Dear friends
I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies
LEARN ABOUT DEBIAN
vde_l3
VDE_L3(1) General Commands Manual VDE_L3(1)
NAME
vde_l3 - Virtual Distributed Ethernet 'Layer 3' Switch.
SYNOPSIS
vde_l3 -v vde_plug:ipaddress/netmask [-v...] [-r target_network/netmask:gateway] [-G default_gw] [-M mgmt_socket]
DESCRIPTION
A vde_l3 connects to one or more vde_switches, performing ip forwarding among its virtual interfaces. A new interface is created at startup
for each -v option given at command line. Static routes to target networks can be defined using the -r option.
vde_l3 -v /var/run/s1.ctl:192.168.0.1/24
connects to the vde sock at /var/run/s1.ctl with its virtual interface ve0, having the address 192.168.0.1 and netmask 255.255.255.0.
vde_l3
-v /var/run/s1.ctl:192.168.0.1/24
-v /var/run/s2.ctl:10.0.0.254/255.255.0.0
connects to the two vde socks, with its virtual interfaces ve0 and ve1, having addressess 192.168.1.0 and 10.0.0.254 respectively. Hosts in
each network can specify the vde_l3 as their gateway to reach the other one.
OPTIONS
-v vde_plug:ipaddress/netmask
Creates a virtual network interfaces on the vde_l3 box, with address ipaddress and netmask netmask. Please note that the netmask can
be specified either in the 'classic' A.B.C.D mode, or just by giving the number of leading bits (f.e., /17 for 255.255.128.0). One
can define as many interfaces as she wants.
-r target_network/netmask:gateway
Specify a static route through gateway to reach hosts in target_network with netmask netmask. One can define as many routes as she
wants.
-G default_gw
Specify a default gateway, to be used whenever no static route is defined for a target host.
-M mgmt_socket
the unix socket where the parameters (interfaces addresses, routes, etc.) can be checked and changed runtime. unixterm(1) can be
used as a remote terminal for wirefilter.
NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
i.e. the German "Association for Electrical, Electronic & Information Technologies").
SEE ALSO
vde_switch(1), vdeq(1), unixterm(1), vde_cryptcab(1), wirefilter(1).
AUTHORS
VDE_L3 is a tool by Daniele Lacamera <root@danielinux.net>
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>
Virtual Distributed Ethernet May 7, 2007 VDE_L3(1)