Modifying IP Address/Gateway/Subnet in SCO Unix

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Modifying IP Address/Gateway/Subnet in SCO Unix
# 1  
Old 01-03-2002
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.

# 2  
Old 01-03-2002
man ifconfig ....

The ifconfig command (and the route command are places to start exploring.
# 3  
Old 01-03-2002
Java this is bad...

This sounds pathetic, but do you think maybe you could tell me exactly what to type in, I don't really understand the proper syntax, and where I have to type which numbers. Maybe you could e-mail me?

Sorry I'm so useless,
# 4  
Old 01-03-2002
The forum is for all and everyones benefit.... to learn from other so email is not encouraged.

Perhaps you might try and then ask specific questions? Did you find the ifconfig command? Did you read the man page? What did you try? What error did you get?
# 5  
Old 01-04-2002
further help

When I look up ifconfig in the manual, it tells me that if I want to change any settings to edit the /etc/tcp file. When I go in to edit it, it just takes me to the next line, and everything I seem to type is not an editor command. Is there some way to actually show the file so I can see all the lines and freely edit them?
# 6  
Old 01-04-2002
What editor are you using? I assume that you are not really comfortable with editors such as vi .... please feel free to post the contents of your file /etc/tcp (cut and paste to the forum)..... can you do that?

You might try using a command like more or cat to view the contents:

more /etc/tcp

cat /etc/tcp

... patience, one step-at-a-time Smilie
# 7  
Old 01-04-2002
Java many lines

The file is many many lines, and I can't find a way to copy it from that computer to this workstation, so I just manually copied the section which seemed like it would need editing...

ifconfig lo0 localhost
ifconfig nat0 -trailers netmask broadcast

#Daemon & other things -- edit as appropriate
strerr > /dev/console 2>&1 &
echo "strerr \c"
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Get all ip address from subnet mask

I have this subnet file shown below. How can I calculate all ip addresses from that list need to be able to read the subnet file and print all IPs in those subnet to an out put file (3 Replies)
Discussion started by: e_mikey_2000
3 Replies

2. Shell Programming and Scripting

Grep IP address form a text file along with the subnet

I have an input file: class 1 3 5 10.10.10..0/23 hicks jimmy class 3 mike class.019283 henry gym.847585 45 nancy jim steve maya The output should look like this: 10.10.10..0/23 I have the... (3 Replies)
Discussion started by: e_mikey_2000
3 Replies

3. IP Networking

lookup ip address, subnet mask, gateway, and dns at same time

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

4. IP Networking

Migrating existing Subnet to a new subnet and changing ip addresses in UNIX

Hi, My project needs to migrate the existing Subnet ( to a new subnet and change the ipaddresses (currently C class). How can I do that. I need some information. John (0 Replies)
Discussion started by: johnmarsh
0 Replies

5. IP Networking

Static IP / Subnet mask and Gateway

Hi all, I installed Fedora 9 + squid at one of PC at work. Our company has windows 2003 servera acting as DHCP server. During installation, i set linux box up as Static IP ( But once installation completed, The pc is assigned a different IP address instead of (3 Replies)
Discussion started by: c00kie88
3 Replies

6. Programming

how we can get gateway address

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

7. Shell Programming and Scripting

ip address and subnet comparing

Hmmm, tough question for me, so I put it here. I am trying to use shell script or mysql to do the following thing. tableA, in which all are single ips. sip ------- .... and tableB, a list of our group subnets. subnet --------- (2 Replies)
Discussion started by: fedora
2 Replies

8. SCO

ACL for Subnet/IP address

I am trying to find out if you can create an ACL for telnet sessions and restrict it to a certain subnet/IP range.. any information or where to look would be greatly appreciated. thanks (1 Reply)
Discussion started by: marvin51796
1 Replies

9. UNIX for Dummies Questions & Answers

gateway address

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

10. UNIX for Dummies Questions & Answers

IP address and gateway info

How can I change the IP address and gateway info on a unix server? (2 Replies)
Discussion started by: gguzman
2 Replies
Login or Register to Ask a Question