View Single Post
  #5   (View Single Post)  
Old 14th July 2013
Sonya's Avatar
Sonya Sonya is offline
Real Name: Sonya Fox
New User
 
Join Date: Jan 2009
Posts: 8
Default

Here we go, I've got some more dox for you;
I do have net.inet.ip.forwarding: 1

Here's my rc.conf:
Code:
hostname="Mainframe"
ifconfig_re0="DHCP"
ifconfig_re1="inet 10.0.0.1 netmask 255.255.255.0"
gateway_enable="YES"
pf_enable="YES"
pf_rules="/etc/pf.conf"
dhcpd_enable="YES"
named_enable="YES"
inetd_enable="YES"
ntpd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
Here's the output of ifconfig:
Code:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether 00:e0:4c:68:10:eb
	inet 184.13.1.104 netmask 0xffffff00 broadcast 184.13.1.255
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
re1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
	ether bc:5f:f4:49:35:49
	inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
pflog0: flags=0<> metric 0 mtu 33152
pfsync0: flags=0<> metric 0 mtu 1500
	syncpeer: 0.0.0.0 maxupd: 128
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet 127.0.0.1 netmask 0xff000000
Here's my routing table (netstat -rn)
Code:
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            184.13.1.111       UGS         0       62    re0
10.0.0.0/24        link#7             U           0       10    re1
10.0.0.1           link#7             UHS         0        0    lo0
127.0.0.1          link#12            UH          0        0    lo0
184.13.1.0/24      link#1             U           0        8    re0
184.13.1.128       link#1             UHS         0        0    lo0
And finally, here's the output of ipconfig of a machine connected to re1:
Code:
Windows IP Configuration


Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix  . :
    IP Address. . . . . . . . . . . . : 10.0.0.187
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 10.0.0.1
I pretty much followed that guide right to the letter on a pristine install, I did exactly what they did and nothing else.
Reply With Quote