Networking help


 
Thread Tools Search this Thread
Operating Systems Solaris Networking help
# 1  
Old 01-06-2011
Networking help

What am I doing wrong, I configure interfaces ce1,ce,2 and ce3 but when I reboot the server they lose the configuration and I have to reset them?


Code:
ifconfig ce1 plumb
ifconfig ce2 plumb
ifconfig ce1 155.216.13.72 netmask 255.255.255.240
ifconfig ce2 155.216.13.73 netmask 255.255.255.240
ifconfig ce1 up
ifconfig ce2 up

I created files these files

Code:
hostname.ce1
hostname.ce2
hostname.ce3

and added the ip's for the other interfaces in the host entry

hosts

Code:
::1     localhost
127.0.0.1       localhost
155.216.13.71   dixxa0accvce005 loghost
155.216.13.72   dixxa0accvce005a
155.216.13.73   dixxa0accvce004b
155.216.13.74   dixxa0accvce009

# 2  
Old 01-06-2011
I think the disconnect here is that you need to put the hostname in the /etc/hostname.ce1,2,3 files. So, in your instance, put a different hostname in each file corresponding to the ip address you want assigned to that interface.

HTH
This User Gave Thanks to bluescreen For This Post:
# 3  
Old 01-06-2011
Maybe you need to add them to the start-up scripts, as I see no promise to save the settings in a file for future reference in the man page. I did see this:

Code:
 
                                                         The ifconfig  com-
       mand  must  be  used at boot time to define the network address of each
       interface present on a machine; it may also be used at a later time  to
       redefine  an  interface's  address or other operating parameters.

No registry in UNIX! Smilie
This User Gave Thanks to DGPickett For This Post:
# 4  
Old 01-06-2011
Quote:
Originally Posted by DGPickett
Maybe you need to add them to the start-up scripts, as I see no promise to save the settings in a file for future reference in the man page.
This is not necessary in Solaris 10. Simply put the hostname that corresponds to the IP address you want on the interface into the proper /etc/hostname.<interface> file and you should be good.

Code:
# cat /etc/hostname.ce1
dixxa0accvce005
#

This is all you need.
This User Gave Thanks to bluescreen For This Post:
# 5  
Old 01-06-2011
thanks guys, you've been really helpful. Coming from windows this is pretty different then what I'm used to.
# 6  
Old 01-07-2011
Soon, you will not want to go back . . . . Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Networking

hi From mt windows machine I can ping a LINUX machine but there is no arp entry for the same LINUX on my windows. How is it possible and what can I do to add the arp entry as I need it. thanks (1 Reply)
Discussion started by: leghorn
1 Replies

2. IP Networking

Networking

Hi, I have a question on networking. I will try to ask with an example... Suppose i am googling something, as in searching something in the google page. In this case what I basically want to know is, does the client do a connect evrytime to the server whenever a search is done in google,... (1 Reply)
Discussion started by: naan
1 Replies

3. UNIX for Advanced & Expert Users

how ..........networking

hi everyone this is dipendra, i am interested in networking,i know simple socket programming . and now i am wonder to get in to audio socket. i have no clue how to build audio socket.so i am looking if u can provide me a link regarding the audio socket building tutorials. (1 Reply)
Discussion started by: dipendra_regmi
1 Replies

4. Solaris

Need help with networking

I can't or i don't know how to put up a network and internet on sun solaris 10. I looked and found some stuff on forums around net but I'm missing a few files. Like, "defaultrouter", "resolve.conf", ping is not working ( host unreachable), my card is "lo0" when I use ifconfig -a comand. Should I... (8 Replies)
Discussion started by: salvor_hardin
8 Replies

5. AIX

Networking help...

Please accept my apology ahead of time. Our AIX admin left the company unexpectedly and I am now left with trying to get a p570 w/5.3 setup. I had the help of an IBM reseller on setting up the LPARs, but need some quick questions answered. 1. I have 1 on-board NIC and 2 slot NICs. How do I... (2 Replies)
Discussion started by: LegendMan
2 Replies

6. IP Networking

networking

HI guys/gals basic question lets say i am running a network. lets say i am using Win Me. how would i network Win Me to a computer that has linux and another that has 98 well the 98 is no problem but the linux well i have an idea but i am rusty with linux. No i have rusted out. Would you make... (1 Reply)
Discussion started by: pydyer
1 Replies

7. UNIX for Dummies Questions & Answers

Networking

Hi new user to UNIX and I am in the process of networking my UNIX box to my windows2000....Is there a special program I have to install so that my windows would recognize and see the Unix box....any suggestions would be great Thanks (1 Reply)
Discussion started by: jonas27
1 Replies

8. IP Networking

networking

dear sir how many name server can be configured in single machine? thank you very much. sandeep goel (3 Replies)
Discussion started by: ask_goel
3 Replies

9. IP Networking

Networking

I've installed Mandrake 8.1 over the weekend as has someone else in my apartment house. We share a LAN between the apartment with three computers. I've managed to configure SAMBA and if the computers are on windows then we can see my comp. I can't see their comps though. Whenever I go to... (1 Reply)
Discussion started by: kyphur
1 Replies

10. IP Networking

IP networking.

In plain english what exactly is IP Networking? Can someone take the time to explain? please! (3 Replies)
Discussion started by: kikkin
3 Replies
Login or Register to Ask a Question