Sponsored Content
Full Discussion: default gateway in unix?
Special Forums IP Networking default gateway in unix? Post 70764 by Just Ice on Tuesday 3rd of May 2005 10:00:22 PM
Old 05-03-2005
check the default gateway that's configured on your talking windows box and put that value into whichever file you need to edit (i.e., /etc/defaultrouter for solaris) or however else you get to set the default route on your unix box ...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Modifying IP Address/Gateway/Subnet in SCO Unix

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

2. HP-UX

How to add another default gateway

I am using HP-UX 11i and I need to add another default gateway. how can I do that ? (3 Replies)
Discussion started by: salhoub
3 Replies

3. UNIX for Dummies Questions & Answers

Unix Gateway Config

Hello: I'm new to unix and need to know if my unix server has the network configuration configured correctly. I need to add a gateway and don't know how to. Any help. Thx. George (6 Replies)
Discussion started by: projectit
6 Replies

4. AIX

Help with Default Gateway

Hi, I have two interfaces on m AIX 5.3 box. One going to 192.168.1.x and it has a gateway of 192.168.1.1. I configured the other gateway with 192.168.2.x and the default gateway as 192.168.2.1. But I can't get connectivity to the 192.168.2.1 network. Can someone help me out and let me know... (7 Replies)
Discussion started by: bbbngowc
7 Replies

5. HP-UX

where can i modify default gateway

where in configuration files can i modify default gateway in hp-ux11iv3 (5 Replies)
Discussion started by: h@foorsa.biz
5 Replies

6. Linux

GNUGK-How to setup static gateway to gateway routing

Dear Sir I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper. I am having a problem, configuring static call routing on GNUGK in the section ... (0 Replies)
Discussion started by: mfondoum
0 Replies

7. UNIX for Dummies Questions & Answers

Cannot ping default gateway

I have NCR MP-RAS unix. I have been trying for several months to get our network working since we had never used it before. I have setup all routes that I can think of. I know it has something to do with the routing table, because out of sheer luck I was able to get it working, and than like a... (4 Replies)
Discussion started by: Rutgerncas
4 Replies

8. Red Hat

Can not ping default gateway

Hi, Here is the issue: There are 2 identical systems in the same subnet here. They can ping and ssh each other. One can ping the default gateway and one can not with error '... icmp_seq Destination Host Unreachable'. I can't find any difference between the two systems in terms of network... (4 Replies)
Discussion started by: aixlover
4 Replies

9. IP Networking

Default Gateway

I am am using IPv6 IP's with an OS of Debian. Is it possible to set a *static* default gateway w/o the router being connected? Will that gateway change when the router is connected? TIA (0 Replies)
Discussion started by: Meow613
0 Replies

10. UNIX for Beginners Questions & Answers

Inconsistency between RedHat 6.5 global gateway and single gateway leads to loss of default gateway

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
ip6config(8)						    BSD System Manager's Manual 					      ip6config(8)

NAME
ip6config -- Configure IPv6 and 6to4 IPv6 tunnelling SYNOPSIS
ip6config [-h] command interface DESCRIPTION
The ip6config script can be used to start up or shut down IPv6 on active interfaces. It can also be used to configure a 6to4 tunnel and start or stop router advertisement. When IPv6 is enabled on an interface the protocol is attached to the interface, at which point the default settings in the kernel allow it to acquire a link-local address and listen for router advertisements. 6to4 is a mechanism by which your IPv6 address(es) are derived from an assigned IPv4 address, and which involves automatic tunnelling to one or more remove 6to4 hubs, which will then forward your v6 packets on the 6bone etc. Replies are routed back to you over IPv4 via (possibly) other 6to4 capable remote gateways. As such, IPv6-in-IPv4-encapsulated packets are accepted from all v4-hosts. From your (single) IPv4 address, you get a whole IPv6 /48 network, which allows you to split your network in 2^16 subnets, with 2^64 hosts each. You need to setup routing for your internal network properly, help is provided for setting up the border router here. This script takes the burden to calculate your IPv6 address from existing IPv4 address and runs the commands to setup (and tear down) auto- matic 6to4 IPv6 tunnelling. Finally, router advertisement for an internal network can be started and stopped. This uses sysctl to set net.inet6.ip6.forwarding and net.inet6.ip6.accept_rtadv to the proper values for routing. Possible options are: -h Show usage. Possible commands are: start-v6 Start IPv6 on given interface using default kernel settings. Attaches protocol to the interface. If interface is "all", all valid interfaces will be configured. stop-v6 Stop IPv6 on given interface. Detaches protocol from the interface. If interface is "all", all valid interfaces will be config- ured. start-stf Configure 6to4 IPv6. The stf(4) interface is configured, and a default route to a remote 6to4 gateway is established. In addi- tion, the internal network interface is assigned an address. stop-stf Stops 6to4 IPv6. All addresses are removed from the stf(4) device, and the default route is removed. start-rtadvd Starts router advertizement and IPv6 packet forwarding, turning the machine into a IPv6 router. rtadvd(8) is invoked with a custom config file created under /var/run. Clients just need to be told to accept router advertizements, i.e. the 'net.inet6.ip6.accept_rtadv' sysctl needs to be set to '1'. You can arrange that by setting ``ip6mode=autohost'' in /etc/rc.conf. stop-rtadvd Stops router advertizement and IPv6 packet forwarding. rtadvd(8) is stopped, and the rtadvd.conf(5) config file is removed from /var/run. REQUIREMENTS
Besides IPv4 connectivity, you need support for IPv6 and the stf(4) device in your kernel. This is provided beginning with Darwin Kernel Ver- sion 6.0. No special values are needed in /etc/rc.conf to run this script, but see comment on setting up IPv6-clients 'behind' your 6to4 router for the rtadvd-start command! CONFIGURATION
The default IPv6 configuration for an interface assigns a link-local address to it and sets the interface to receive router advertisements. No further configuration is necessary for basic functionality. However, various settings can be modified by using sysctl. The ip6config script reads its 6to4 configuration from a config file named 6to4.conf. The 6to4.conf file is in perl(1) syntax, and contains several variables that can be tuned to adjust your setup. in_if The inside interface. If non-empty, this interface is assigned the IPv6 address 2002:x:x:v6_innernet:hostbits6, see below. This is only useful on machines that have more than one network interface, e.g. with a modem and a local ethernet. v6_net The subnet address you want to use on the address of your outbound interface. Defaults to ``1''. v6_innernet The subnet address you want to use on the address of your inbound interface. Defaults to ``2''. hostbits6 The lower 64 bits of both the inbound and outbound interface's addresses. peer Name of the remote 6to4 server that'll take our IPv6-in-IPv4 encapsulated packets and route them on via IPv6. A special value of ``6to4-anycast'' can be used for the anycast service defined in RFC 3068. Other possible values are given in the example config file. SEE ALSO
stf(4), ``6to4 IPv6 Explained'' at http://www.feyrer.de/NetBSD/6to4.html, NetBSD IPv6 Documentation at http://www.netbsd.org/Documentation/network/ipv6/, RFC 3068. HISTORY
The ip6config 6to4 utility and manpage portions were written by Hubert Feyrer <hubert@feyrer.de> for NetBSD. BSD
May 21, 2002 BSD
All times are GMT -4. The time now is 09:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy