10-27-2009
Add Default route
touch /etc/defaultrouter
<gateway IP> /etc/defaultrouter
vi /etc/resolve.conf
nameserver <Primary DNS IP>
nameserver <Secondry DNS IP>.
after this restart network service it will work.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
configure internet connection on Solaris (3 Replies)
Discussion started by: CreamHarry
3 Replies
2. IP Networking
Downloaded and installed, when I try to execute iexplorer it responds with "iexplorer: not found", but it is right there in the directory I am in and I im logged in as root. any ideas? (3 Replies)
Discussion started by: cluettr
3 Replies
3. UNIX for Dummies Questions & Answers
I have cable and Solaris 8 (Intel Ver.) and a Compaq NC3121 Fast
Ethernet NIC
How do I connect to the internet? (3 Replies)
Discussion started by: eloquent99
3 Replies
4. Cybersecurity
i am on solaris 8 and i wish to configure internet on solaris 8 using our proxy server. How to i do that.
Hitesh Shah (1 Reply)
Discussion started by: Hitesh Shah
1 Replies
5. Solaris
Hi all
I am new to unix having played with linux for a few years (still newbie).
My problem is I am having trouble connecting to the internet. I do not seem to have an eth0 connection just a locahost.
I read on a blog post somewhere that unix uses pcn0 instead of eth0 but it seems my card... (3 Replies)
Discussion started by: skewbie
3 Replies
6. Solaris
Hello! I'm having trouble getting this to work so I ask kindly if I can get some help to get it to work, please :).
I installed Solaris 10 (nov 06) on a laptop and I been trying to get it to connect to the router (wired connection) and it doesn't work.
I have a 2wire 2700HG router that has... (5 Replies)
Discussion started by: RemoL
5 Replies
7. Solaris
Hello,
I have Solaris 10 Express, and am going to try OpenSolaris on a different computer. I need to configure and setup my wireless card, a NetGear WG311T, on my Solaris 10 machine, because I have no internet yet. Please help me get my wireless working, Thanks.
-SunPowered
Some links... (2 Replies)
Discussion started by: sunpowered
2 Replies
8. Solaris
Hi friends,i use BSNL broadband for my internet through a modem(a router) from ethernet port.i use a username and password to connect.Its dhcp .plz help me (1 Reply)
Discussion started by: santugvd
1 Replies
9. Solaris
Hi !!!!
i am very new in solaris.
at present i am using windows XP for internet connection.
ISP has given me user name and password for connecting to the internet.
it is a brodband DSL connection.
but i am unable to connect to the internet in solaris.
i am using one static ip given by the... (4 Replies)
Discussion started by: alamin
4 Replies
10. UNIX for Dummies Questions & Answers
I recently installed solaris 10 on a seperate hard disk in my desktop pc. My first hard disk is running windows xp.
I am totally new to solaris. Please help me to connect to the internet through solaris 10. I read a few threads, and re-installed solaris 10 by giving 'Yes' to the question that... (1 Reply)
Discussion started by: hari86av
1 Replies
LEARN ABOUT MOJAVE
defaultrouter
defaultrouter(4) File Formats defaultrouter(4)
NAME
defaultrouter - configuration file for default router(s)
SYNOPSIS
/etc/defaultrouter
DESCRIPTION
The /etc/defaultrouter file specifies a IPv4 host's default router(s).
The format of the file is as follows:
IP_address
...
The /etc/defaultrouter file can contain the IP addresses or hostnames of one or more default routers, with each entry on its own line. If
you use hostnames, each hostname must also be listed in the local /etc/hosts file, because no name services are running at the time that
defaultrouter is read.
Lines beginning with the ``#'' character are treated as comments.
The default routes listed in this file replace those added by the kernel during diskless booting. An empty /etc/defaultrouter file will
cause the default route added by the kernel to be deleted.
Use of a default route, whether received from a DHCP server or from /etc/defaultrouter, prevents a machine from acting as an IPv4 router.
You can use routeadm(1M) to override this behavior.
FILES
/etc/defaultrouter Configuration file containing the hostnames or IP addresses of one or more default routers.
SEE ALSO
in.rdisc(1M), in.routed(1M), routeadm(1M), hosts(4)
SunOS 5.10 17 Aug 2004 defaultrouter(4)