View Single Post
  #3   (View Single Post)  
Old 30th December 2008
maurobottone maurobottone is offline
Real Name: Mauro Bottone
Port Guard
 
Join Date: May 2008
Location: Aversa, IT
Posts: 24
Default

Thanks for reply jggimi;
outputs here:

----
Code:
bash-3.2# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33160
        groups: lo
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:19:db:81:72:a8
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::219:dbff:fe81:72a8%re0 prefixlen 64 scopeid 0x1
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:14:c1:0f:b2:fa
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet6 fe80::214:c1ff:fe0f:b2fa%rl0 prefixlen 64 scopeid 0x2
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:50:fc:f5:c4:62
        media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
        status: active
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::250:fcff:fef5:c462%re1 prefixlen 64 scopeid 0x3
enc0: flags=0<> mtu 1536
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
        dev: rl0 state: session
        sid: 0xa77e PADI retries: 3 PADR retries: 0 time: 7d 17:26:49
        sppp: phase network authproto pap authname "4813296885"
        groups: pppoe egress
        inet6 fe80::219:dbff:fe81:72a8%pppoe0 ->  prefixlen 64 scopeid 0x6
        inet 78.134.10.25 --> 81.174.0.1 netmask 0xffffff00
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33160
        groups: pflog



Code:
bash-3.2# route -n show -inet
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            0.0.0.1            UGS        5   362936     -    48 pppoe0
81.174.0.1         78.134.10.25       UH         0        0     -    48 pppoe0
127/8              127.0.0.1          UGRS       0        0 33160    48 lo0
127.0.0.1          127.0.0.1          UH         2    23197 33160    48 lo0
192.168.0/24       link#1             UC         3        0     -    48 re0
192.168.0.8        00:01:29:a6:22:05  UHLc       1    56479     -    48 re0
192.168.0.9        00:1a:4d:5d:44:a5  UHLc       2      948     -    48 re0
192.168.0.10       00:00:4d:83:08:98  UHLc       0    34550     -    48 re0
192.168.1/24       link#3             UC         1        0     -    48 re1
192.168.1.13       link#3             UHLc       1     8183     -    48 re1
224/4              127.0.0.1          URS        0        0 33160    48 lo0
-bash-3.2#
----

however netmask of both LANs is: 255.255.255.0
Thanks.
__________________
"Non ex regula ius sumatur, sed ex iure quod est regula fiat."

Last edited by maurobottone; 30th December 2008 at 02:13 PM.
Reply With Quote