connection problems - Solaris

This is a discussion on connection problems - Solaris ; Hello, I have the following problem. I have installed OpenSolaris on a Mac Pro. This model has 2 network connections and I use both. One is an internal net connected through a proxy server. It works perfect. IP: 10.33.0.224 netmask: ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: connection problems

  1. connection problems

    Hello,

    I have the following problem. I have installed OpenSolaris on a Mac
    Pro. This model has 2 network connections and I use both. One is an
    internal net connected through a proxy server. It works perfect.
    IP: 10.33.0.224
    netmask: 255.255.255.0
    router: 10.33.0.1
    proxy: 10.33.0.7:80

    The problem is the second one. It is connected to a ADSL router with
    static IP.
    I have configured it as:

    IP: 192.168.0.2
    netmask: 255.255.255.0
    router: 192.168.0.1
    without any proxy.

    But it doesn't work.

    Can someone tell me why the first works and the second doesnt?

    Jordi

  2. Re: connection problems

    On Fri, 23 May 2008 12:30:00 +0200, Txortx wrote:

    > I have the following problem. I have installed OpenSolaris on a Mac
    > Pro. This model has 2 network connections and I use both. One is an
    > internal net connected through a proxy server. It works perfect.
    > IP: 10.33.0.224
    > netmask: 255.255.255.0
    > router: 10.33.0.1
    > proxy: 10.33.0.7:80


    Is the content of /etc/defautrouter "10.33.0.1"?

    > The problem is the second one. It is connected to a ADSL router with
    > static IP.
    > I have configured it as:
    >
    > IP: 192.168.0.2
    > netmask: 255.255.255.0
    > router: 192.168.0.1
    > without any proxy.
    >
    > But it doesn't work.


    "It doesn't work" does not work to diagnose networking problems. Please
    post the outputs of the following commands on the OpenSolaris system:

    ifconfig -a
    netstat -rn
    cat /etc/resolv.conf
    cat /etc/defaultrouter
    grep hosts /etc/nsswitch.conf


  3. Re: connection problems

    On 23 mayo, 13:23, Dave Uhring wrote:
    > On Fri, 23 May 2008 12:30:00 +0200, Txortx wrote:
    > > I have the following problem. I have installed OpenSolaris on a Mac
    > > Pro. This model has 2 network connections and I use both. One is an
    > > internal net connected through a proxy server. It works perfect.
    > > IP: 10.33.0.224
    > > netmask: 255.255.255.0
    > > router: 10.33.0.1
    > > proxy: 10.33.0.7:80

    >
    > Is the content of /etc/defautrouter "10.33.0.1"?


    Yes, it is.

    >
    > > The problem is the second one. It is connected to a ADSL router with
    > > static IP.
    > > I have configured it as:

    >
    > > IP: 192.168.0.2
    > > netmask: 255.255.255.0
    > > router: 192.168.0.1
    > > without any proxy.

    >
    > > But it doesn't work.

    >
    > "It doesn't work" does not work to diagnose networking problems. Please
    > post the outputs of the following commands on the OpenSolaris system:
    >
    > ifconfig -a


    lo0: flags=2001000849 mtu
    8232 index 1
    inet 127.0.0.1 netmask ff000000
    e1000g0: flags=201000843 mtu
    1500 index 2
    inet 192.168.0.2 netmask ffffff00 broadcast 192.168.0.255
    ether 0:17:f2:7:1d:c
    e1000g1: flags=201000843 mtu
    1500 index 3
    inet 10.33.0.224 netmask ffffff00 broadcast 10.33.0.255
    ether 0:17:f2:7:1d:d
    lo0: flags=2002000849 mtu
    8252 index 1
    inet6 ::1/128

    > netstat -rn


    Routing Table: IPv4
    Destination Gateway Flags Ref Use
    Interface
    -------------------- -------------------- ----- ----- ----------
    ---------
    default 10.33.0.1 UG 1
    0
    10.33.0.0 10.33.0.224 U 1 1
    e1000g1
    192.168.0.0 192.168.0.2 U 1 0
    e1000g0
    127.0.0.1 127.0.0.1 UH 1 420
    lo0

    Routing Table: IPv6
    Destination/Mask Gateway Flags Ref
    Use If
    --------------------------- --------------------------- ----- ---
    ------- -----
    ::1 ::1 UH
    1 0 lo0

    > cat /etc/resolv.conf


    nameserver 10.33.0.102
    nameserver 10.33.0.2

    > cat /etc/defaultrouter


    10.33.0.1

    > grep hosts /etc/nsswitch.conf


    # "hosts:" and "services:" in this file are used only if the
    hosts: files


    All info as requested.

    Thanks in advance.

    j.

  4. Re: connection problems

    On Fri, 23 May 2008 06:34:33 -0700, jreissfica wrote:
    > On 23 mayo, 13:23, Dave Uhring wrote:


    >> Is the content of /etc/defautrouter "10.33.0.1"?

    >
    > Yes, it is.


    Unless the 10.33.0.1 host has a default route to the Internet that
    is not going to work.

    >> > The problem is the second one. It is connected to a ADSL router with
    >> > static IP.
    >> > I have configured it as:

    >>
    >> > IP: 192.168.0.2
    >> > netmask: 255.255.255.0
    >> > router: 192.168.0.1


    That route does not appear in 'netstat -rn'

    >> "It doesn't work" does not work to diagnose networking problems. Please
    >> post the outputs of the following commands on the OpenSolaris system:
    >>
    >> ifconfig -a

    >
    > lo0: flags=2001000849 mtu
    > 8232 index 1
    > inet 127.0.0.1 netmask ff000000
    > e1000g0: flags=201000843 mtu
    > 1500 index 2
    > inet 192.168.0.2 netmask ffffff00 broadcast 192.168.0.255
    > ether 0:17:f2:7:1d:c
    > e1000g1: flags=201000843 mtu
    > 1500 index 3
    > inet 10.33.0.224 netmask ffffff00 broadcast 10.33.0.255
    > ether 0:17:f2:7:1d:d
    > lo0: flags=2002000849 mtu
    > 8252 index 1
    > inet6 ::1/128
    >
    >> netstat -rn

    >
    > Routing Table: IPv4
    > Destination Gateway Flags Ref Use
    > Interface
    > -------------------- -------------------- ----- ----- ----------
    > ---------
    > default 10.33.0.1 UG 1
    > 0
    > 10.33.0.0 10.33.0.224 U 1 1
    > e1000g1
    > 192.168.0.0 192.168.0.2 U 1 0
    > e1000g0
    > 127.0.0.1 127.0.0.1 UH 1 420
    > lo0

    ....snip IPv6 info, not configured...
    >
    > nameserver 10.33.0.102
    > nameserver 10.33.0.2
    >
    >> cat /etc/defaultrouter

    >
    > 10.33.0.1


    You need to change this to 192.168.0.1 to survive reboot. For now

    route delete default
    route add default 192.168.0.1

    >> grep hosts /etc/nsswitch.conf

    >
    > # "hosts:" and "services:" in this file are used only if the
    > hosts: files


    DNS is disabled. Either copy /etc/nsswitch.dns to /etc/nsswitch.conf
    or change that line to

    hosts: files dns


+ Reply to Thread