Set new gateway for route to internet

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Set new gateway for route to internet
# 1  
Old 10-27-2017
Blade Set new gateway for route to internet

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 not have to replace the default GW), but for my application/server it must be transparent.

Or maybe there is a better way to resolve?

Thanks to all.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Linux

Unable to add route with a specific gateway IP

Hi, This is the routing table on a RHEL 7 server : # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.132.81.145 0.0.0.0 UG 100 0 0 eno49 10.132.81.144 0.0.0.0 255.255.255.240 U 100 0 0 eno49... (4 Replies)
Discussion started by: anaigini45
4 Replies

2. IP Networking

Firewall with sslvpn with Internet gateway

hi, i have this diagram internet | | -------------- |firewall/sslvpn | -------------- | | 192.168.0.0/24 | -------------------------- ---- ------------- | internet gateway win2003|----|10.1.2.0/24 |... (0 Replies)
Discussion started by: itik
0 Replies

3. AIX

IBM Server doesn't ping gateway unless you put a static route

Just want to know if someone has a clue about what could be happening here: I have an AIX box with four NICs in Ether channel connected to a Cisco Switch. When I try to ping the default gateway, sometimes it works, but sometimes it doesn't work unless it has a defined static route. Thanks... (1 Reply)
Discussion started by: witt
1 Replies

4. Shell Programming and Scripting

script to change default route when primary gateway dies

Hello all! We have two fedora routers one at each site. What we are trying to do worked using freesco but not on fedora, i'm not very good at scripting and need a little guidence. Basicly what we are trying to do is if the primary line dies, the router will change it's routes to go through our... (0 Replies)
Discussion started by: slacker
0 Replies

5. UNIX for Dummies Questions & Answers

Internet access via gateway

Internet access via gateway env: RedHat 6.1 Hi, Until now, we used PPP via an ISDN modem to connect our server to the internet. The ISDN ip-up/down scripts in /etc/ppp add ippp0 as the default route. From that point on we can for instance get mail via fetchmail. Now we have a ADSL... (1 Reply)
Discussion started by: progressdll
1 Replies

6. Windows & DOS: Issues & Discussions

Using Windows XP as my internet gateway

I have many question regarding many things in Unix. here is another. I have a Novell 5 server Windows 2000 advanced server running active directory Windows 2000 professional server running exchange 2000 Windows XP professional providing my internet gateway through 56K dial up modem (sad I... (1 Reply)
Discussion started by: electrode101
1 Replies

7. UNIX for Dummies Questions & Answers

Add route gateway -> Restart !! Lose it

:confused: Hi: I donīt know how to add route gateway and when restart the machine lose this route and put other. In SCO ver 5.6 Enterprise write: etc\route delete gateway route add gateway 199.199.1.1. so , netstat -rn to see if has change -> all ok Restart -> !!!... (2 Replies)
Discussion started by: AlvaroD
2 Replies

8. IP Networking

internet speed thru gateway/server

Other than security does having a separate linux box for the intranet server and a separate one for intranet gateway effect the speed of the internet connection. We have our server and gateway on 40GB HD 256 MB RAM 1.5 GHz Intel P3 Can the server/gateway be configured for better speed?... (1 Reply)
Discussion started by: ramyar
1 Replies
Login or Register to Ask a Question
TRACEROUTE6(8)						    BSD System Manager's Manual 					    TRACEROUTE6(8)

NAME
traceroute6 -- print the route IPv6 packets will take to the destination SYNOPSIS
traceroute6 [-adIlnrv] [-A as_server] [-f firsthop] [-g gateway] [-m hoplimit] [-p port] [-q probes] [-s src] [-w waittime] target [datalen] DESCRIPTION
-A Turn on AS# lookups and use the given server instead of the default. -a Turn on AS# lookups for each hop encountered. -d Debug mode. -f firsthop Specify how many hops to skip in trace. -g gateway Specify intermediate gateway (traceroute6 uses routing header). -I Use ICMP6 ECHO instead of UDP datagrams. -l Print both host hostnames and numeric addresses. Normally traceroute6 prints only hostnames if -n is not specified, and only numeric addresses if -n is specified. -m hoplimit Specify maximum hoplimit. -n Do not resolve numeric address to hostname. -p port Set UDP port number to port. -q probes Set the number of probe per hop count to probes. -r Bypass the normal routing tables and send directly to a host on an attached network. If the host is not on a directly-attached net- work, an error is returned. This option can be used to send probes to a local host through an interface that has no route through it (e.g., after the interface was dropped by route6d(8)). -s src Src specifies the source IPv6 address to be used. -v Be verbose. -w waittime Specify the delay time between probes. EXIT STATUS
The traceroute6 command exits 0 on success, and >0 on errors. SEE ALSO
ping(8), ping6(8), traceroute(8) HISTORY
The traceroute6 command first appeared in WIDE hydrangea IPv6 protocol stack kit. BSD
September 17, 2005 BSD