Sponsored Content
Full Discussion: solaris 8 network
Operating Systems Solaris solaris 8 network Post 302215224 by veer on Tuesday 15th of July 2008 11:24:42 PM
Old 07-16-2008
use route add command for the default gateway.
Login as root and fire:
#route add default 192.168.2.167
The ouput will be:
#add net default: gateway 192.168.2.167

Then do netstat -rn as usual and also try to ping thru the gateway out to some host.

Make the changes permanent so that they are available after booting too.
#vi /etc/defaultrouter
AND append IP address: 192.168.2.167
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

About Sun Solaris Network

The infomation: Sun Ultra10 (SPARC),OS Solaris 8 I finished installed Solaris8 on my workstation, i want configure the net. When i run ,'ifconfig -a ' ,i did't find my familiar 'hme0,hme1' network interface,my interface is good and the reticle is connected correctly. Pls help me, tell me how... (2 Replies)
Discussion started by: q30
2 Replies

2. Solaris

network on solaris

Withouth being physically at the server, is there a way to tell if the network cable is unplugged? (6 Replies)
Discussion started by: csaunders
6 Replies

3. Solaris

Solaris Network question

I have a machine that has developed a strange network problem. Anytime it sends an FTP file somewherwe, no problem. When it is the target machine, extremely slow. I checked the /var/adm/messages file and found a few of these: SUNW,hme0 : No response from Ethernet network : Link down -- cable... (2 Replies)
Discussion started by: hshapiro
2 Replies

4. Solaris

Getting solaris on my network

I have a solaris x86 box that ive been having trouble getting on my network, anyone know a good guide that can take me through it step by step? (1 Reply)
Discussion started by: xtremepancakez
1 Replies

5. Solaris

Network Solaris

Hi gurus, I need book to learn about network in Solaris 9 Thanks (2 Replies)
Discussion started by: mass1123
2 Replies

6. Solaris

Getting Solaris machine into Network

I have installed solaris x86 on a standalone PC. Now I have connected a LAN cable to it. What do I do next for further configuration or to access internet from that solaris machine? (16 Replies)
Discussion started by: panchpan
16 Replies

7. Solaris

Network on solaris

Hi, i have installed solaris on virtual box in my desktop, i wanted to know how to make it network enabled(nated network). Nated network means it will use same IP as of my windows right? so is it possible that using the same IP i can enable the network on this virtual box. Thanks in advance. (3 Replies)
Discussion started by: amult
3 Replies

8. Solaris

Solaris 10.8 installation over network

Hi, I'm very new to Solaris world and istarted my learnign with a Blade T6320 Server. I was trying to install Solaris 10.8 from a DVD image over the network. But from the client(the machine which i want to install Solaris) when i tried boot net , i am getting a message like " cannto find... (5 Replies)
Discussion started by: jerinvjose
5 Replies

9. Solaris

Install Solaris 10 through network

Hi all, I got a Fujitsu P650 server running on Solaris 9 and we are going to re-install Solaris 10 . W have a build server in a different IP segment. So we setup a boot server and /etc/ethers and /etc/bootparams are all updated. When I issue boot net -install, I'm getting the following... (3 Replies)
Discussion started by: mohzub
3 Replies

10. Solaris

Network Interface -- Solaris

Dear All, I have a solaris Server in which I have 4 network interfaces , out of which only one is used . So all the applications are using this interface . The interface speed is 1000Mbps . I find no hardware issue or packets g being dropped. But i find that no of Input and Output... (4 Replies)
Discussion started by: jegaraman
4 Replies
DHCPING(8)						      General Commands Manual							DHCPING(8)

NAME
dhcping - send a DHCP request to DHCP server to see if it's up and running SYNOPSIS
dhcping [-v] [-q] [-i] [-r] -t maxwait -c client-IP-address -s server-IP-address -h client-hardware-address [-g gateway-IP-address] DESCRIPTION
This command allows the system administrator to check if a remote DHCP server is still functioning. Options are: -v Verbose, print some information. -i Use DHCPINFORM packets. -r Use DHCPREQUEST packets (default behaviour). -q Quiet, print nothing on the screen. -t maxwait Maximum time to wait for an answer from the server in seconds. Default is 3 seconds. -c client-IP-address Request this IP address. Note that this is also the IP address the answer will be sent to. -s server-IP-address Send the DHCP packet to this IP address. -h client-hardware-address Use this hardware-address in the DHCP request. It can be up to sixteen octets seperated by colons (i.e. 01:02:03:04) -g gateway-IP-address Use this IP address for the gateway IP address in the DHCP packet. This option is currently broken. RETURN VALUES
If everything goes okay, it returns 0. If there went something wrong, it returns 1. SETUP
This program should be installed setuid root or ran by root only. See SECURITY for more information. On your DHCP server, add these lines to the dhcpd.conf: host <your monitoring host FQDN> { hardware ethernet <your monitor host mac address>; fixed-address <your monitoring host IP address>; } Then try it: $ dhcping -c your monitoring host IP address -s your DHCP server IP address -h your monitor host mac address It will either respond with "no answer" or "Got answer from: your DHCP server IP address" The DHCP server logfile will give: DHCPREQUEST for 192.168.1.1 from 00:20:18:56:29:8f via ed0 DHCPACK on 192.168.1.1 to 00:20:18:56:29:8f via ed0 DHCPRELEASE of 192.168.1.1 from 00:20:18:56:29:8f via ed0 (found) Running in DHCPINFORM mode with -i: If you see "DHCPINFORM from 192.168.1.1 via xl0: not authoritative for subnet 192.168.1.0", you should add the authoritative statement to the subnet, See dhcpd.conf(5) for details. When running in very verbose mode, dhcping tries to dump all data of the send and received DHCP packets. It will first dump the packet in hex-format, then decodes the header and finally the options. HOW IT WORKS
The client either sends a DHCPREQUEST or DHCPINFORM packet to the server and waits for an answer. Then, if a DHCPREQUEST was send, it will send a DHCPRELEASE back to the server. SECURITY
This program is installed setuid root as it requires the privileges to bind itself to port 68 (bootpc). Root privileges are dropped as soon as the program has bound itself to that port. BUGS
Currently (this may, or may not, change in the future) the ISC DHCP daemon does not write leases with a fixed IP address in the dhcpd.leases file. DHCPINFORM packets can only be used on subnets the server is authori- tative for. If the monitoring script runs on a subnet the server isn't authoritative for, it should use the DHCPREQUEST packets. I also experienced some problems with ISC DHCPD v2 servers, but that is also in the README of it. The -V option is still working, but shouldn't be used for debugging of the packets. Better use dhcpdump(8) for that, which is available on my website. I wanted to remove it, but decided only to do it from the documentation, not from the code. Maybe I'll need it one day for debugging. AUTHOR
Edwin Groothuis, edwin@mavetju.org (http://www.mavetju.org) SEE ALSO
dhcpd(8), dhclient(8), dhcpd.conf(5), dhcpdump(8) Januari 27, 2002 Januari 27, 2002 DHCPING(8)
All times are GMT -4. The time now is 02:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy