10 More Discussions You Might Find Interesting
1. Fedora
Hello, I just installed Fedora 16 and wanted to add some apps to startup but realized System settings has only a small setup of utilities and does not have option for adding apps to startup. Also it's missing some other icons that I see on my Rhat 6.2 . I'm logged in as user from admin group but it... (2 Replies)
Discussion started by: susja
2 Replies
2. Shell Programming and Scripting
Hello, Newbie question on scripting - I'm looking to create a simple script that will work on RHEL5 that will adjust the network settings: ip address, default gateway, and subnet mask. If anything else needs to be done (service network stop / start) or should be done to make settings active - I... (4 Replies)
Discussion started by: rojizo
4 Replies
3. Solaris
Hi
i have created a solaris zone but have not yet connected any network cables for this new zone,
can i set the zone up without running the command 'add net' and not adding an ip or physical interface?
i tried to add dummy internet settings and get this
zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies
4. UNIX for Dummies Questions & Answers
Hello Unix Gurus Who I Hope Reads This,
I have quasi-inherited control over a Linux cluster at a university research lab. The post-doc that set it up is gone, and the person in charge of administering the cluster doesn't know a ton about Linux. Amongst other things, I want to use the cluster... (0 Replies)
Discussion started by: mbl
0 Replies
5. HP-UX
Hello everyone..
While printing through command line, we can set printing option with -o <lanscape/portrait> to print file in required mode.
But i want to know is there any way we can set this as default behaviour for this printer?
After configuration any script we can modify for this... (0 Replies)
Discussion started by: laxmikant
0 Replies
6. Solaris
I have problem with network settings.
Where i can find network config ? I'm newbie, but i very want learn this OS.
I find :
/etc/hostname.<interface>
/etc/netconfig
/etc/netmasks
/etc/networks
/etc/inet/hosts
But where i can write my IP-address and after reboot i be know that my server... (2 Replies)
Discussion started by: jess_t03
2 Replies
7. Shell Programming and Scripting
say i have a system on thats on a network with access to the internet.
now, i have sensitive information on this system and i do not want the system to be connected to the outside world anymore. how do i get it off the network without actually having to disconnect the cables?
i'm asking this... (4 Replies)
Discussion started by: Terrible
4 Replies
8. Linux
I've been looking for documentation on how to stop this behavior. I have two nics in my system.
eth0: configured manually and as a dhcp server for the local network
eth1: configured w/ dhcp enabled connected to router
dns server addresses keep getting reset every few minutes. i suspect... (0 Replies)
Discussion started by: rbetzen
0 Replies
9. UNIX for Dummies Questions & Answers
Total newbie here!!
How do I view and alter network settings (ip address, subnet mask and default gateway) in UNIX?
Thanks in advance.. (3 Replies)
Discussion started by: ZappaDub
3 Replies
10. UNIX for Dummies Questions & Answers
HELP!! How do you change the network setting from auto-duplex to 100 Base T Full Duplex in Red HaT? (1 Reply)
Discussion started by: johnlong
1 Replies
gateways(4) Kernel Interfaces Manual gateways(4)
NAME
gateways - Specifies Internet routing information to the routed daemon
SYNOPSIS
/etc/gateways
DESCRIPTION
The /etc/gateways file identifies gateways for the routed daemon. Ordinarily, the routed daemon queries the network and builds routing
tables. The routed daemon builds the tables from routing information transmitted by other hosts directly connected to the network. How-
ever, there may be gateways that this command cannot identify through its queries. These unidentified gateways are known as distant gate-
ways. Such gateways should be identified in the /etc/gateways file, which the routed daemon reads when it starts.
The general format of an file entry in the /etc/gateways file is: Destination Name1 gateway Name2 metric Value Type
The following is a brief description of each element in an /etc/gateways file entry: A keyword that indicates whether the route is to a
network or to a specific host. The two possible keywords are net and host. The name associated with Destination. Name1 can be either a
symbolic name (as used in the /etc/hosts or /etc/networks file) or an Internet address specified in dotted-decimal format. An indicator
that the following string identifies the gateway host. The name or address of the gateway host to which messages should be forwarded. An
indicator that the next string represents the hop count to the destination host or network. The hop count, or number of gateways, from the
local network to the destination network. A keyword that indicates whether the gateway should be treated as active, passive, or external.
The three possible keywords are as follows: An active gateway is treated like a network interface. That is, it is expected to exchange RIP
(Routing Information Protocol) routing information. Information about it is maintained in the internal routing tables as long as it is
active and is included in any routing information that is transmitted through RIP. If it does not respond for a period of time, the route
associated with it is deleted from the internal routing tables. A passive gateway is not expected to exchange RIP routing information.
Information about it is maintained in the routing tables indefinitely and is included in any routing information that is transmitted
through RIP. An external gateway is identified to inform the routed daemon that another routing process will install such a route and that
alternative routes to that destination should not be installed. Information about external gateways is not maintained in the internal rout-
ing tables and is not transmitted through RIP.
Note that these routes must be to networks.
EXAMPLES
To specify a route to a network through a gateway host with an entry in the gateways file, enter: net net2 gateway host4 metric 4 passive
This example specifies a route to a network, net2, through the gateway host4. The hop count metric to net2 is 4, and the gateway is
treated as passive. To specify a route to a host through a gateway host with an entry in the gateways file, enter: host host2 gate-
way host4 metric 4 passive
This example specifies a route to a host, host2, through the gateway host4. The hop count metric to host2 is 4, and the gateway is
treated as passive. To specify a route to a host through an active Internet gateway with an entry in the gateways file, enter: host
host10 gateway 192.100.11.5 metric 9 active
This example specifies a route to a specific host, host10, through the gateway 192.100.11.5. The hop count metric to host10 is 9 and
the gateway is treated as active. To specify a route to a host through a passive Internet gateway with an entry in the gateways
file, enter: host host10 gateway 192.100.11.5 metric 9 passive
This example specifies a route to a specific host, host10, through the gateway 192.100.11.5. The hop metric count to host10 is 9
and the gateway is treated as passive. To specify a route to a network through an external gateway, enter a line in the following
format: net net5 gateway host7 metric 11 external
This example specifies a route to a network, net5, through the gateway host7. The hop count metric to net5 is 11 and the gateway is
treated as external (that is, it is not advertised through RIP, but is advertised through an unspecified routing protocol).
RELATED INFORMATION
Daemons: gated(8), routed(8) delim off
gateways(4)