Setting up IP,Subnet, default gateway and secondary gateway in solaris 10 x

Hi,
I am new to solaris.
I have instralled solaris10 x86 on my system.
I am not able to access internet as i am not able to setup address.
I use broadband and have static ip address.
How do i configure them...
ip, subnet, default gateway, and secondary gateway.
Thanks in advance.

run sys-unconfig and after reboot set the parameters (IP, etc)
What do you mean second gateway?

Similar Messages

  • After the Firefox update this week (Sept 7?) links from emails won't open. I get an error message. So I've temporarily set IE as my default browser, and the links work.

    After the Firefox update this week (Sept 7?) links from emails won't open. I get an error message. So I've temporarily set IE as my default browser, and the links work.

    Hi everyone, I have Snow Leopard 10.6.8. I have been very very frustrated by this problem. [I could not create new windows, and anything that opens new windows, such as trying to see what Add-ons you have etc would not work]. I read about changing screen alignment to the top... I have one screen so the option does not exist. The above messages would not fix this problem. I searched hard and did find a solution in the end. I read stuff about removing Add-ons until the problem is fixed, but its simply not the case.
    First of all open Firefox. next go to options: Help --- 'Restart with Add-ons disabled'. Tick the box for add-ons, restart firefox. Next go to Tools --- Add-ons. Next (In the Add-ons Manager' click on 'Plugins' on the left hand side pane. Look for the small blue writing that says 'Check to see if your plugins are up to date'.
    Now notice it should say 'Missing Flash'. "For your safety, Firefox has disabled your outdated version of Flash. Please upgrade to the latest version". I followed this, reinstalled Flash and it now works as it always did, no problems. For people where the above fix didn't work, try this one out. Hope it helps people!
    :o)

  • I want to set a variable with default value and can be changed by the user

    hi,
    i want to set a variable with default value and can be changed by the user, so i new a variable with setting : customer exit, single value, optional, ready for input.
    in my customer exit code, i set a default value, eg. 20070530
    when the variable screen popup, it display the default value 20070530, i changed it to 20070529, but it doesn't work , it still display the data in 20070530, how can i solve this problem? 
    your help is appreciated.

    Liu,
       As mentioned by Anil, you need to restrict your customerr Exit code to I_STEP = 1.
    or.
       <u>Open your Variable in change mode, in the Last Page os the Variable Maintenance you can provide default value. Note: you are doing same thing in Customer Exit. In your case no need of Customer Exit.</u>
    Nagesh Ganisetti.
    Assign points if it helps.

  • Giving up default gateway in Solaris 10

    Good Morning !!!
    Hi ..
    could you tell me, how can i add default gateway in solaris 10?
    i mean , i wanted give up as follows:
    rute add default 100.110.120.130
    but it does not work !!
    Thanks.

    Could you post the output from what you're doing? This because beside the typo the following command should work when your root.
    route add default 100.110.120.130 Another option is the following command, but then you need to reboot the system afterwards.
    echo "100.110.120.130"  > /etc/defaultrouter

  • How to set region relationship to default? And get it to disappear!

    How do I get a region relationship to disappear in CCM9?   I just can't get it to go away even with it set to systen default for Audio Codec prefernce list, Maximum audio bit rate, and Maximum session bit rate calls.

    You have to set all of the dropdowns to Use System Default. If you did that and it still shows, then you're hitting the same thing I ran into this in 9.0(1) but didn't have time to open a TAC case over it. Likely a bug but five minutes of poking through the bug toolkit didn't reveal an obvious match.
    Anyways, delete the region and create a new one. You'll be good as long as you don't set it to a non-default value.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • How do I set firefox as my default web broswer again?

    Okay so I set up this layout thing for Facebook. When it was done installing and I quit. Later I checked in and Firebox search box didn't come up. Some thing Called "Internet Search" was there. I reinstalled a new version of Firefox and it said on to set up as my default broswer and I clicked it and it didn't work. So How can I get firebox back?

    I did that but It didn't work. When I first open internet it doesn't bring up the firefox box that you can search stuff on. It pulls up some Internet Search thing. How can I change it back?

  • I can't set iTunes as my default player

    I run on XP... Ok so today i tried to set iTunes as my default player and every time i tried it said i didn't have enough privelages to do that.
    I tried it in itunes, then in program access and defaults. Still didnt work(i didnt get the message tho.
    I think it may have something to do with the fact that last night i rolled back to windows media player 10 last night because of issues with it not working online(it still doesnt work with 10 tho.its a prob with the proxy setting. If you know how to fix it tell me please)
    Ok so if anyone knows the force code or w/e i can type into "Run" or if anyone knows any other way to solve this please help!

    The only thing I can suggest to try, is that you go into Windows Media Player Options>File types, and deselect everything except for the types that have to be played in WMP.

  • Setting default gateway in subnetted network

    I have a /24 that i have been using as 2 x/25. Recently i was asked to subnet the network into 1x /27, 3x /28 and 1x /30. Previously I just had one default gateway. Now how will I set the default gateway for all these subnets?

     Hi ,
         Yes if you want to route the traffic between subnets ,then you need gateway to defined on your network elements (router /L3 switches) . 
             After breaking into number of subnets , ensure you have created appropriate vlan on layer 2 switch if applicable , Switch port access accrodingly . 
    Use Subnet calculator 
    https://www.cisco.com/cgi-bin/Support/IpSubnet/home.pl
    HTH
    sandy

  • Default and secondary row sets not working as expected

    I am trying the following code to understand how the default and secondary row sets work in ADF. However, the implementation doesn't seem straightforward.
    public void testRowSets(){
      CountryVOImpl vo = (CountryVOImpl)findViewObject("Countries");
      vo.setApplyViewCriteriaName("CountryVOSearchByRegionIdVC");
      vo.setbindRegionId(new Integer(4));
      vo.executeQuery();
      RowSetIterator iter1 = vo.getRowSetIterator();
      while (iter1.hasNext()){
      System.out.println("default iterator, for region id 4, has countries="+iter1.next().getAttribute("CountryName")); //prints Zimbabwe,Nigeria,Israel
      RowSet rowSet = vo.createRowSet("secondaryRowSet");
      vo.setbindRegionId(new Integer(4)); 
      vo.setQueryMode(ViewObject.QUERY_MODE_SCAN_VIEW_ROWS);
      rowSet.executeQuery();
      while (rowSet.hasNext()){
      System.out.println("secondary row set, for region id 4, has countries="+rowSet.next().getAttribute("CountryName")); //prints nothing
      rowSet.closeRowSet();      
      RowSetIterator iter = vo.getRowSetIterator();
      System.out.println("default row set iterator row count="+iter.getEstimatedRangePageCount());
      iter.reset();
      while (iter.hasNext()){
      System.out.println("default row set iterator, for region id 4, has countries="+iter.next().getAttribute("CountryName"));
    Now, iter1 prints X, Y, and Z country names (line #9).The secondary row set prints no countries (line #17). After executeQuery() on the secondary row set, the default row set iterator also prints nothing (line #25). Believe the secondary row set has a different query collection only as long as the row filter is different, and in the case above it's the same. But if that's the case then when we perform rowSet.executeQuery in QUERY_MODE_SCAN_VIEW_ROWS, why does it not see the records in the default row set which have already been placed in the cache by iteration over the default row set?
    NOTE: Changed the subject in the hope to get more suggestions/answers

    have you tried resetting the rowset after the first iteration - my guess its pointing to the end after the first iteration. So perhaps try closing the rowsetitertor first
    iter1 .closeRowSetIterator();
    and then
    RowSetIterator iter=vo.createRowSetIterator('secondaryRowSetIterator')

  • How to set default gateway

    I have created two Virtual machine of windows server 2008 R2 (VM1 & VM2 respectively). I am configuring domain controller on VM1 and VM2 will be my member server.
    My Host system is windows 7 and my ISP does NOT provide me with a static IP.
    When I configure domain controller on VM1 it asks me to configure static IP address first. I have given 10.0.0.2 as a static IP on VM1 and the default value of subnet mask is populated. 
    For preferred DNS and Alternate DNS server I have given the same static IP address (i.e 10.0.0.2).
    Note - As am planning to use the local computer (i.e VM1) as my preferred DNS and alternate DNS.
    Q1) What should I set as the 'default gateway' on VM1 ? 
    Q2) Once I've set up the domain controller, can I configure DHCP server on VM1 and assign IP to VM2 ? 
    Q3) VM2 being a (domain)member server, can we assign static IP to it ? If yes What would be the values in gateway, Preferred DNS and Alternate DNS field ?

    Thanks for answers. Doing this configuration for first time this is little confusing for me.
    @Milos
    Step No. 15 says
    "If you do not have static IPv4 and IPv6 addresses assigned to your network adapters, a warning message might appear advising you to set static addresses for both of these protocols before you can continue."
    The warning message did appear. 
    Before I start to configure Active Directory Domain Services, I
    will have to provide a static IP to the system. Correct? 
    I have two virtual machines (windows server 2008 R2) running on my VMware workstation. I do not require two domain controllers, my requirement is the first virtual machine (i.e VM1) should be the domain controller and the second virtual machine (i.e VM2) should
    me a domain member server (NOT a domain controller or a child domain)
    As you have explained, that Before you run DCPROMO,
    there is following configuration:
    IP address            10.0.0.2
    MASK                 255.0.0.0
    Deafault gateway  10.0.0.1  if
    this is IP address of ryour outer.
    Preferred DNS     10.0.0.2
    I would like to understand, is this what you mean by having a static IP ?
    I am pasting three screenshot below, 
    1st) ipconfig of my host system. 

  • Default gateways and zones in a multihomed system

    We do have some problems concerning default routes and zones in a multihomed system.
    I found several posts in this forum, most of them referring to a domument of meljr, but my feeling ist that the paper is either not correct or not applicable to our situation?! Perhaps somebody can give me a hint.
    Let me sketch our test environment. We have a multihomed Solaris 10 system attached to three different DMZ's using three different network adapters. We set up two local zones with IP's of the DMZ's of adapter 1 and 2, leaving adapter 0 for the IP of the global zone.
    Now we set up default routes to ensure that network traffic from the local zones is routed in the corresponding DMZ's. That makes three different default routes on the global zone. On startup of the local zones, netstat reports the expected default routes to the correct DMZ gateways inside each zone.
    Now what happens... My ssh to the global zone sometimes breaks. When this happens, no pings are possible to the IP of the global zone. Meanwhile, pings from other machines in our network (even from different subnets) might produce replies, some don't. By now, I can't tell you if there's is anything deterministic about it... More interesting: the local zone connections aren't affected at all!
    So we did some more testing. Binding an IP address to the DMZ interfaces where the zones are tied to makes no difference (we tried both, with or without dedicated addresses for the adapter in the global zone). So the setup we're using right now is made of 5 IP addresses.
    IP1, subnet 1: adapter 0, global zone
    IP2, subnet 2: adapter 1, global zone
    IP3, subnet 2; adapter 1. local zone 1
    IP4, subnet 3; adapter 2, global zone
    IP5, subnet 3; adapter 2, local zone 2
    In the global zone there are three default gateways defined, one in each DMZ subnet. Inside the local zones, at startup you'll find the corresponding gateway into the DMZ. Everything looks fine...
    I opened five ssh connections to the different IP's. Now what happened... After approx. half an hour, the connections to two IPs of the global zone (adapter 0 and adapter 1) broke down, while the connections to all other IP's were still open. This behaviour can be reconstructed!
    So perhaps anybody has a explaination for this behaviour. Or perhaps anybody can answer me some qustions:
    1. How are the three default gateways handled? Is there still some kind of "round robbin" implemenation? How can I guarantee that network traffic from outside isn't routed inside the DMZ's without preventing the local zones from talking to each other (actually we only need to communicate on some ports, but the single IP-stack concept only gives us all or nothing...).
    2. If I do a ping from local zone 1 to the default gateway of local zone 2, this route is added as additional default gateway inside local zone 1! So does this mean, the routing decision is made only inside the global zone not taking into account where the packet is sent from?
    3. After all, how are the IP packets routed from the different zone and the global zone, and how are they routed back to calling systems from the various DMS's and other networks, routed via these DMS's???
    The scenario seems to be covered by http://meljr.com/~meljr/Solaris10LocalZoneDefaultRoute.html, but configuring the machine like stated in the paper leaves me with the problems described.
    I'd be happy for any helpful comment!

    you can have multiple gateway entries in deafultrouter file but the default gateway for global zone can be only one but you can specify different gateways for different zones..
    using this default gateway, you should be able to connect via different network...!

  • How to set two default gateway

    Hi
    I have following config on my Solaris 10 SunFireT2000 box
    [root@sun4] ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    e1000g0: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
    inet 192.168.10.4 netmask ffffff00 broadcast 192.168.10.255
    ether 0:14:4f:aa:77:10
    e1000g0:1: flags=4001000862<BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4,DUPLICATE> mtu 1500 index 3
    inet 192.168.10.14 netmask ffffff00 broadcast 192.168.10.255
    e1000g1: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 192.168.20.3 netmask ffffff00 broadcast 192.168.20.255
    ether 0:14:4f:aa:77:11
    [root@sun4] cat /etc/defaultrouter
    192.168.10.1
    As seen, I have added only one entry in default router for 192.168.10.0 subnet and added other with command route add "192.168.20.0/24 192.168.20.1"
    The problem: I can not connect the machine from the subnet other than 192.168.10.0 subnet. kindly help me with the correct way to set my network config.
    Edited by: Mukesh.Prajapati on Sep 26, 2008 12:39 AM

    Mukesh.Prajapati wrote:
    Hi
    I have following config on my Solaris 10 SunFireT2000 box
    [root@sun4] ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    e1000g0: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
    inet 192.168.10.4 netmask ffffff00 broadcast 192.168.10.255
    ether 0:14:4f:aa:77:10
    e1000g0:1: flags=4001000862<BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4,DUPLICATE> mtu 1500 index 3
    inet 192.168.10.14 netmask ffffff00 broadcast 192.168.10.255
    e1000g1: flags=1000863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 192.168.20.3 netmask ffffff00 broadcast 192.168.20.255
    ether 0:14:4f:aa:77:11
    [root@sun4] cat /etc/defaultrouter
    192.168.10.1Can you show the current routing table? (netstat -nr)
    As seen, I have added only one entry in default router for 192.168.10.0 subnet and added other with command route add "192.168.20.0/24 192.168.20.1"Well the second one isn't a "default route", and it shouldn't be necessary to do at all. The system will bring up a route for the subnet as soon as the interface is brought up.
    Darren

  • Set default gateway on headless server (via ssh)

    I'm trying to configure one of the two ethernet interfaces on a headless Xserve. I managed to give it an address and subnet mask with ifconfig, but I can't figure out how to give it a default gateway or dns server.
    I tried using this:
    sudo route add default gw xxx.xxx.xxx.xxx en0
    but I got the error 'route: bad address: gw'
    is there something wrong with my syntax, or does this just not work on OS X?

    Something's wrong with your syntax
    Try:
    <pre class=command>sudo route add default a.b.c.d</pre>
    The keyword 'gw' is not needed, and you also don't need to specify an interface since the OS should be able to work it out from the IP address(es) assigned to your interface(s).

  • Setting Default Gateway on O

    I have a LAG with two VLANs in it.
    Setup
    VLAN 1 (Untaged default) is connected to the '192.168.11.x', which connects to the "10.1.10.x", which connects to the internet.
    VLAN 3 (Tagged) is connected directly to "10.1.10.x" which connects to the internet.
    Situation;
    When both VLAN3 and VLAN1 are up, default gateway is 192.168.11.1
    When VLAN1 is down, default gateway is 10.1.10.1
    *Desired configuration;*
    How do I make the VLAN3 interface the default, or the directly attached network of 10.1.10.x the default, when it is enabled?
    I have tried this, but must be missing something;
    +kevin-cossaboons-mac-pro:~ kevincossaboon$ sudo route -nv add -net 0.0.0.0 10.1.10.1+
    Password:
    +u: inet 0.0.0.0; u: inet 10.1.10.1; RTM_ADD: Add Route: len 128, pid: 0, seq 1, errno 0, flags:<UP,GATEWAY,STATIC>+
    +locks: inits:+
    +sockaddrs: <DST,GATEWAY,NETMASK>+
    +default 10.1.10.1 default+
    +route: writing to routing socket: File exists+
    +add net 0.0.0.0: gateway 10.1.10.1: File exists+
    +kevin-cossaboons-mac-pro:~ kevincossaboon$ netstat -r+
    +Routing tables+
    Internet:
    +Destination Gateway Flags Refs Use Netif Expire+
    +default 192.168.11.1 UGSc 30 171 bond0+
    +10.1.10/24 link#13 UCS 3 0 vlan0+
    +10.1.10.1 0.13.f7.af.e7.e6 UHLW 0 93 vlan0 995+
    +10.1.10.13 0.18.39.3b.42.95 UHLW 0 26 vlan0 178+

    In your network preferences click the cog wheel and choose set service order. Then drag vlan3 to the top of the list.

  • Default gateways and zones

    This may be related to a thread that is currently out there. However in the interest of not hijacking it, I created my own. Please pardon my ignorance on the zoning stuff since I am in the process of learning.
    We are currently running into a default gw issue on a 480R that is configured as follows:
    bge0 interface: connected to the public routable network and used by the global zone. The defaultrouter file contains the gateway for this address.
    bge1:1 and bge1:2 interfaces: connected to zones 1 and 2 respectively. These reside on the same private subnet behind our firewall appliance. The gateway for these is NOT on the defaultrouter of the global zone.
    On the routing table of the global zone, we have 2 default gw's (one for the global/public zone and 1 for the local zones).
    The problem:
    When a user tries to connect via the public interface (they are connecting from a point not on the same subnet as the public interface of the box), they are sometimes able to connect (i.e. SSH) and sometimes not. My system is on the same subnet as the box and does not have any problems connecting via the public interface.
    Is this the result of having multiple gw's on the global zone routing table?
    Suggestions?

    you can have multiple gateway entries in deafultrouter file but the default gateway for global zone can be only one but you can specify different gateways for different zones..
    using this default gateway, you should be able to connect via different network...!

Maybe you are looking for