06-25-2001
IP address and gateway info
How can I change the IP address and gateway info on a unix server?
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. UNIX for Dummies Questions & Answers
:) Firstly Hi all!!, im NEW!! and on here hoping that someone might be able to offer me some help... i have a server that keeps crashing every few days with the error message:
PANIC KERNAL-MODE ADDRESS FAULT ON USER ADDRESS 0X14
KERNAL PAGE FAULT FROM (CS:EIP)=(100:EF71B5BD)
EAX=EF822000... (10 Replies)
Discussion started by: Twix
10 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Q1) What is a gateway server.
Q2) In a dataflow diagram I see that two applications (on Server A) pass data to a server XYZ. In the document one application lists the Server XYZ as a gateway server, but the other doesn't talk about it. Both are similar applications i.e. applications in a... (1 Reply)
Discussion started by: tostay2003
1 Replies
6. Linux
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. 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
8. 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
9. Solaris
How to set gateway address to a particular interface? waht are the files need to update to make it permanent? (2 Replies)
Discussion started by: Naveen.6025
2 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 PLAN9
iproute
IPROUTE(3) Library Functions Manual IPROUTE(3)
NAME
iproute - Internet route table manager
SYNOPSIS
bind -a #P /net
/net/iproute
/net/ipifc
DESCRIPTION
The iproute device allows the specification of routes for families of IP addresses. It maintains a kernel-resident routing table for IP
addresses used by TCP, IL and UDP. Each route consists of a destination IP address, an IP mask, and an IP gateway address. Every packet
sent by the system is routed according to the route table. An address matches the route table entry when a packet's destination address
matches the table destination address under the mask. When a match is found, the packet is sent to the gateway IP address. If there is no
match, the packet is sent with the original destination address. If there are several matches, the one whose mask has the fewest leading
zeros is chosen. (Because of the definition of IP masks, this mask preserves the largest portion of the address and is therefore the most
specific.) This is forced by storing the routes in decreasing number of ones order and returning the first match. The default gateway has
no ones in the mask and is thus the last matched.
Reading iproute reports the current routes entered in the table. Writing control messages to iproute edits the table. Route entries are
made by writing a string of format
add ipdest mask ipgateway
Entries are deleted by writing a string of format
delete ipdest mask
The whole table can be cleared by writing the string
For example, to install a gateway address to accept all IP packets from a machine:
% echo 'add 0.0.0.0 0.0.0.0 131.107.1.5' > /net/iproute
% cat /net/iproute
0.0.0.0 & 0.0.0.0 -> 131.107.1.5
Reading ipifc reports the current IP interfaces being used, one line per interface, showing the device, the maximum transfer unit, the
local address, the network mask, and the network address.
SOURCE
/sys/src/9/port/deviproute.c
SEE ALSO
ip(3), ipconfig(8)
IPROUTE(3)