View Single Post
  #4   (View Single Post)  
Old 10th January 2011
unixjingleman unixjingleman is offline
Fdisk Soldier
 
Join Date: Jan 2011
Posts: 70
Default

Here's the output of netstat -rn:Routing tables

Code:
Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            192.168.1.254      GS         0        0     -     8 xl0  
127/8              127.0.0.1          UGRS       0        0 33200     8 lo0  
127.0.0.1          127.0.0.1          UH         4        0 33200     4 lo0  
192.168.1/24       link#2             C          1        0     -     4 xl1  
192.168.1.66       127.0.0.1          UGHS       0        0 33200     8 lo0  
192.168.1.67       127.0.0.1          UGHS       0        0 33200     8 lo0  
192.168.1.68       127.0.0.1          UGHS       0        0 33200     8 lo0  
192.168.1.254      link#2             HLc        1      679     -     4 xl1  
224/4              127.0.0.1          URS        0        0 33200     8 lo0
Here's the output of ifconfig -a:

Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200
	priority: 0
	groups: lo
	inet 127.0.0.1 netmask 0xff000000
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	lladdr 00:04:76:e6:5c:4e
	priority: 0
	groups: egress
	media: Ethernet autoselect (none)
	status: no carrier
	inet6 fe80::204:76ff:fee6:5c4e%xl0 prefixlen 64 scopeid 0x1
	inet 192.168.1.66 netmask 0xffffff00 broadcast 192.168.1.255
xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	lladdr 00:02:1c:f1:35:51
	priority: 0
	media: Ethernet autoselect (none)
	status: no carrier
	inet6 fe80::202:1cff:fef1:3551%xl1 prefixlen 64 scopeid 0x2
	inet 192.168.1.67 netmask 0xffffff00 broadcast 192.168.1.255
xl2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	lladdr 00:01:02:b7:1b:16
	priority: 0
	media: Ethernet autoselect (100baseTX full-duplex)
	status: active
	inet6 fe80::201:2ff:feb7:1b16%xl2 prefixlen 64 scopeid 0x3
	inet 192.168.1.68 netmask 0xffffff00 broadcast 192.168.1.255
enc0: flags=0<>
	priority: 0
	groups: enc
	status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33200
	priority: 0
	groups: pflog
/etc/mygate didn't exist.So i created it and put the default gateway's I.P in. That didn't help.The output of ping is still: "ping: wrote 64 192.168.1.254 64 chars, ret =-1 \ ping: sendto: host is down"And it isn't a router yet so the sysctl variables are still set to 0. I think 3 interfaces have I.Ps
Thank you very much for your help.I put the wrong I.P in the original post cause i forgot what the gateways i.p was.

Last edited by J65nko; 10th January 2011 at 11:40 PM. Reason: Added [noparse][code][/noparse] tags ;)
Reply With Quote