Visit Our UNIX and Linux User Community


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
# 8  
Old 01-04-2002
Well, you are almost there...... looks like you found the right line... what do you want to do next? Change/edit the second ifconfig line for a new address? Do you need the nat0 interface? How are you connected to your ISP?
# 9  
Old 01-04-2002
how to edit

I viewed those lines by typing more /etc/tcp like you said, but I still don't know how to edit them?

We are connected through an ISDN router, which I have running NAT.
# 10  
Old 01-04-2002
OK.... before you edit, you need to do some design..... what is the IP address and subnet mask of the internal (your platform) side of the ISDN router?

Have you got all that 'figured-out' on paper?
# 11  
Old 01-04-2002
specs

The new specs I want to assign are..

IP: 206.46.26.67(sco unix)
SUBNET: 255.255.255.240(given to me by ISP)
GATEWAY: 206.46.26.65(router)
BROADCAST: 206.46.26.79(given to me by ISP)

I'm not sure if I've given you all the information you were asking for?

Thank you for all of your help so far, it's been a great deal of help to be able to get support from this board.
# 12  
Old 01-07-2002
command

Is there just a way to let me know verbatum the command line I need to type?
# 13  
Old 01-07-2002
You need to edit the file and add the information in your post (from your ISP) and you are all set..... there will be an ifconfig entry and a route command entry.
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #114
Difficulty: Easy
Linux was derived from the Unix design philosophy.
True or False?

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 103.22.200.0/22 141.101.64.0/18 10.0.0.0/22I 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 10.12.10.0/22 mike class.019283 10.10.15.10/20 henry gym.847585 45 192.168.10.0/22 nancy jim steve maya The output should look like this: 10.10.10..0/23 10.12.10.0/22 10.10.15.10/20 192.168.10.0/22 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 (255.255.255.0) 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 (192.168.0.100) But once installation completed, The pc is assigned a different IP address instead of 192.168.0.100.... (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 ------- 1.2.3.4 8.8.8.8 123.3.32.1 .... and tableB, a list of our group subnets. subnet --------- 1.0.0.0/8 20.0.1.0/24 (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

Featured Tech Videos