ipfw port forwarding

John Musbach johnmusbach1 at gmail.com
Mon Dec 10 17:53:09 PST 2007


On Dec 10, 2007 11:50 AM, Dan Shoop <shoop at iwiring.net> wrote:
> What are your NIC's in question?

The mac which needs to share the internet connection is connected to
the internet via ethernet (en0), I'm trying to get it to share the
internet connection over and forward packets through the airport
networking device (en1)

>Have a bit of a diagram to share w
> subnets?

DSL Modem
|
|
|
Router---> Mac server in dmz--share dmz'd internet connection via
airport---------v(*)
----> AirPort Express --> AirPort Extreme --> other computers in house
connect here wirelessly for non dmz internet access, Other
Mac-----------------------------------^(*)


>What's sysctl saying?

kern.ostype = Darwin
kern.osrelease = 9.1.0
kern.osrevision = 199506
kern.version = Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT
2007; root:xnu-1228.0.2~1/RELEASE_I386
kern.maxvnodes = 33792
kern.maxproc = 532
kern.maxfiles = 12288
kern.argmax = 262144
kern.securelevel = 0
kern.hostname = Macintosh.local
kern.hostid = 0
kern.clockrate: hz = 100, tick = 10000, profhz = 100, stathz = 100
Use pstat to view kern.vnode information
Use ps to view kern.proc information
Use pstat to view kern.file information
kernel is not compiled for profiling
kern.profiling: kern.posix1version = 200112
kern.ngroups = 16
kern.job_control = 1
kern.saved_ids = 1
kern.boottime = Thu Nov 15 18:06:31 2007

kern.nisdomainname =
kern.maxpartitions: No such file or directory
kern.kdebug: Operation not permitted
kern.update: No such file or directory
kern.osreldate: No such file or directory
kern.ntp_pll: No such file or directory
kern.bootfile: No such file or directory
kern.maxfilesperproc = 10240
kern.maxprocperuid = 266
kern.dumpdev: No such file or directory
kern.ipc: No such file or directory
kern.dummy = 0
kern.dummy = 0
kern.usrstack = -1073741824
kern.logsigexit: No such file or directory
kern.symfile: Input/output error
kern.procargs: Invalid argument
kern.dummy = 0
kern.netboot = 0
kern.panicinfo: specification is incomplete
kern.sysv: No such file or directory
kern.dummy = 0
kern.dummy = 0
kern.exec: unknown type returned
kern.aiomax = 90
kern.aioprocmax = 16
kern.aiothreads = 4
kern.procargs2: Invalid argument
kern.corefile = /cores/core.%P
kern.coredump = 1
kern.sugid_coredump = 0
kern.delayterm = 0
kern.shreg_private = 0
kern.proc_low_pri_io = 0
kern.low_pri_window: No such file or directory
kern.low_pri_delay: No such file or directory
kern.posix: No such file or directory
kern.usrstack64 = 3221225472
kern.nx = 1
kern.tfp: No such file or directory
kern.procname =
kern.threadsigaltstack: No such file or directory
kern.speculative_reads_disabled = 0
kern.osversion = 9B18
kern.safeboot = 0
kern.lctx: No such file or directory
kern.rage_vnode = 0
kern.tty: No such file or directory
kern.check_openevt: Invalid argument
vm.vmmeter: No such file or directory
vm.dummy: No such file or directory
vfs.ufs has 0 mounted instances
vfs.nfs has 1 mounted instance
vfs.fdesc has 1 mounted instance
vfs.cd9660 has 0 mounted instances
vfs.unionfs has 0 mounted instances
vfs.hfs has 2 mounted instances
vfs.devfs has 1 mounted instance
vfs.autofs has 2 mounted instances
vfs.msdos has 0 mounted instances
hw.machine = i386
hw.model = MacBook2,1
hw.ncpu = 2
hw.byteorder = 1234
hw.physmem = 2147483648
hw.usermem = 1794441216
hw.pagesize = 4096
hw.disknames: No such file or directory
hw.diskstats: No such file or directory
hw.epoch = 0
hw.floatingpoint: No such file or directory
hw.machinearch: No such file or directory
hw.vectorunit = 1
hw.busfrequency = 664000000
hw.cpufrequency = 2160000000
hw.cachelinesize = 64
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = 1
hw.l2cachesize = 4194304
hw.l3settings: Invalid argument
hw.l3cachesize: Invalid argument
hw.tbfrequency = 1000000000
hw.memsize = 2147483648
hw.availcpu = 2
user.cs_path = /usr/bin:/bin:/usr/sbin:/sbin
user.bc_base_max = 99
user.bc_dim_max = 2048
user.bc_scale_max = 99
user.bc_string_max = 1000
user.coll_weights_max = 2
user.expr_nest_max = 32
user.line_max = 2048
user.re_dup_max = 255
user.posix2_version = 200112
user.posix2_c_bind = 0
user.posix2_c_dev = 0
user.posix2_char_term = 0
user.posix2_fort_dev = 0
user.posix2_fort_run = 0
user.posix2_localedef = 0
user.posix2_sw_dev = 0
user.posix2_upe = 0
user.stream_max = 20
user.tzname_max = 255
kern.ostype: Darwin
kern.osrelease: 9.1.0
kern.osrevision: 199506
kern.version: Darwin Kernel Version 9.1.0: Wed Oct 31 17:46:22 PDT
2007; root:xnu-1228.0.2~1/RELEASE_I386
kern.maxvnodes: 33792
kern.maxproc: 532
kern.maxfiles: 12288
kern.argmax: 262144
kern.securelevel: 0
kern.hostname: Macintosh.local
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 10000, tickadj = 1, profhz = 100,
stathz = 100 }
kern.file: Format:S,filehead Length:18652
Dump:0xa8e06b04e074f80378dd5b0003000200...
kern.posix1version: 200112
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 1
kern.boottime: { sec = 1195178791, usec = 0 } Thu Nov 15 18:06:31 2007
kern.nisdomainname:
kern.maxfilesperproc: 10240
kern.maxprocperuid: 266
kern.ipc.maxsockbuf: 8388608
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 128
kern.ipc.mbstat: Format:S,mbstat Length:580
Dump:0xd00c0000460600000000000053000000...
kern.ipc.nmbclusters: 32768
kern.ipc.soqlimitcompat: 1
kern.ipc.mb_normalized: 0
kern.ipc.mb_stat: Format:S,mb_stat Length:928
Dump:0x070000006d6275660000000000000000...
kern.ipc.sosendjcl_ignore_capab: 0
kern.ipc.sosendjcl: 1
kern.ipc.sorecvmincopy: 16384
kern.ipc.sosendminchain: 16384
kern.ipc.soqlencomp: 0
kern.ipc.njclbytes: 16384
kern.ipc.njcl: 10920
kern.ipc.sbspace_factor: 8
kern.ipc.maxsockets: 512
kern.ipc.sendfileuiobufs: 64
kern.dummy: 0
kern.usrstack: -1073741824
kern.netboot: 0
kern.sysv.shmall: 1024
kern.sysv.shmseg: 8
kern.sysv.shmmni: 32
kern.sysv.shmmin: 1
kern.sysv.shmmax: 4194304
kern.sysv.semume: 10
kern.sysv.semmsl: 87381
kern.sysv.semmnu: 87381
kern.sysv.semmns: 87381
kern.sysv.semmni: 87381
kern.exec.archhandler.powerpc: /usr/libexec/oah/translate
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4
kern.corefile: /cores/core.%P
kern.coredump: 1
kern.sugid_coredump: 0
kern.delayterm: 0
kern.shreg_private: 0
kern.proc_low_pri_io: 0
kern.posix.sem.max: 10000
kern.usrstack64: 3221225472
kern.nx: 1
kern.tfp.policy: 2
kern.procname:
kern.speculative_reads_disabled: 0
kern.osversion: 9B18
kern.safeboot: 0
kern.lctx.max: 8192
kern.lctx.count: 0
kern.lctx.last: 1
kern.rage_vnode: 0
kern.tty.ptmx_max: 127
kern.sleeptime: { sec = 0, usec = 0 } Wed Dec 31 16:00:00 1969
kern.waketime: { sec = 0, usec = 0 } Wed Dec 31 16:00:00 1969
kern.hibernatefile:
kern.bootsignature: f4f70be4975fdc7c469fa5187372388313510bb3

kern.hibernatemode: 0
kern.maxnbuf: 10485
kern.nbuf: 10485
kern.flush_cache_on_write: 0
kern.always_do_fullfsync: 0
kern.sugid_scripts: 0
kern.affinity_sets_mapping: 1
kern.affinity_sets_enabled: 1
kern.singleuser: 0
kern.bootargs:
kern.msgbuf: 4096
kern.wq_timer_interval_msecs: 40
kern.wq_max_run_latency_usecs: 500
kern.wq_reduce_pool_window_usecs: 3000000
kern.wq_stalled_window_usecs: 20000
kern.secure_kernel: 0
vm.loadavg: { 0.35 0.33 0.24 }
vm.swapusage: total = 2048.00M  used = 769.09M  free = 1278.91M
vm.cs_debug: 0
vm.cs_force_hard: 0
vm.cs_force_kill: 0
vm.user_wire_limit: 2147482648
vm.global_user_wire_limit: 2147482648
vm.cs_blob_size_max: 76000
vm.cs_blob_size_peak: 1082752
vm.cs_blob_count_peak: 154
vm.cs_blob_size: 852752
vm.cs_blob_count: 134
vm.cs_validation: 1
vm.vm_page_free_target: 2000
vm.shared_region_persistence: 1
vm.shared_region_version: 3
vm.shared_region_trace_level: 1
vm.allow_data_exec: 1
vm.allow_stack_exec: 0
vfs.generic.vfsidlist: Format:S,fsid Length:48
Dump:0x0200000e11000000140fdf0313000000...
vfs.generic.nfs.server.nfsd_thread_count: 0
vfs.generic.nfs.server.nfsd_thread_max: 0
vfs.generic.nfs.server.fsevents: 1
vfs.generic.nfs.server.user_stats: 1
vfs.generic.nfs.server.request_queue_length: 128
vfs.generic.nfs.server.reqcache_size: 64
vfs.generic.nfs.server.async: 0
vfs.generic.nfs.server.require_resv_port: 0
vfs.generic.nfs.server.wg_delay_v3: 0
vfs.generic.nfs.server.wg_delay: 1000
vfs.generic.nfs.client.max_async_writes: 128
vfs.generic.nfs.client.lockd_mounts: 0
vfs.generic.nfs.client.nfsiod_thread_count: 0
vfs.generic.nfs.client.nfsiod_thread_max: 16
vfs.generic.nfs.client.statfs_rate_limit: 10
vfs.generic.nfs.client.allow_async: 0
vfs.generic.nfs.client.access_cache_timeout: 60
vfs.generic.nfs.client.iosize: 1048576
vfs.generic.nfs.client.nextdowndelay: 30
vfs.generic.nfs.client.initialdowndelay: 12
net.local.stream.pcblist: Format:S,xunpcb Length:56136
Dump:0x180000007600000024b5020000000000...
net.local.stream.recvspace: 8192
net.local.stream.sendspace: 8192
net.local.dgram.pcblist: Format:S,xunpcb Length:24672
Dump:0x180000007600000024b5020000000000...
net.local.dgram.recvspace: 4096
net.local.dgram.maxdgram: 2048
net.local.inflight: 0
net.inet.ip.portrange.hilast: 65535
net.inet.ip.portrange.hifirst: 49152
net.inet.ip.portrange.last: 65535
net.inet.ip.portrange.first: 49152
net.inet.ip.portrange.lowlast: 600
net.inet.ip.portrange.lowfirst: 1023
net.inet.ip.forwarding: 0
net.inet.ip.redirect: 1
net.inet.ip.ttl: 64
net.inet.ip.rtexpire: 10
net.inet.ip.rtminexpire: 10
net.inet.ip.rtmaxcache: 128
net.inet.ip.sourceroute: 0
net.inet.ip.intr_queue_maxlen: 50
net.inet.ip.intr_queue_drops: 0
net.inet.ip.stats: Format:S,ipstat Length:116
Dump:0x2fa79600000000000000000000000000...
net.inet.ip.accept_sourceroute: 0
net.inet.ip.fastforwarding: 0
net.inet.ip.keepfaith: 0
net.inet.ip.gifttl: 30
net.inet.ip.subnets_are_local: 0
net.inet.ip.use_route_genid: 1
net.inet.ip.check_route_selfref: 1
net.inet.ip.dummynet.debug: 0
net.inet.ip.dummynet.red_max_pkt_size: 1500
net.inet.ip.dummynet.red_avg_pkt_size: 512
net.inet.ip.dummynet.red_lookup_depth: 256
net.inet.ip.dummynet.max_chain_len: 16
net.inet.ip.dummynet.expire: 1
net.inet.ip.dummynet.search_steps: 0
net.inet.ip.dummynet.searches: 0
net.inet.ip.dummynet.extract_heap: 0
net.inet.ip.dummynet.ready_heap: 0
net.inet.ip.dummynet.curr_time: 0
net.inet.ip.dummynet.hash_size: 64
net.inet.ip.fw.dyn_keepalive: 1
net.inet.ip.fw.dyn_short_lifetime: 5
net.inet.ip.fw.dyn_udp_lifetime: 10
net.inet.ip.fw.dyn_rst_lifetime: 1
net.inet.ip.fw.dyn_fin_lifetime: 1
net.inet.ip.fw.dyn_syn_lifetime: 20
net.inet.ip.fw.dyn_ack_lifetime: 300
net.inet.ip.fw.static_count: 2
net.inet.ip.fw.dyn_max: 4096
net.inet.ip.fw.dyn_count: 0
net.inet.ip.fw.curr_dyn_buckets: 256
net.inet.ip.fw.dyn_buckets: 256
net.inet.ip.fw.verbose_limit: 0
net.inet.ip.fw.verbose: 2
net.inet.ip.fw.debug: 0
net.inet.ip.fw.one_pass: 0
net.inet.ip.fw.autoinc_step: 100
net.inet.ip.fw.enable: 1
net.inet.ip.random_id: 1
net.inet.ip.linklocal.in.allowbadttl: 1
net.inet.ip.linklocal.stat: Format:S,ip_linklocal_stat Length:16
Dump:0xae010000000000007a4a0000654a0000...
net.inet.ip.check_interface: 0
net.inet.ip.maxfrags: 2048
net.inet.ip.maxfragsperpacket: 128
net.inet.ip.maxfragpackets: 1024
net.inet.ip.maxchainsent: 0
net.inet.icmp.maskrepl: 0
net.inet.icmp.stats: Format:S,icmpstat Length:192
Dump:0x5d000000000000000000000000000000...
net.inet.icmp.icmplim: 250
net.inet.icmp.timestamp: 0
net.inet.icmp.bmcastecho: 1
net.inet.icmp.log_redirect: 0
net.inet.icmp.drop_redirect: 0
net.inet.igmp.stats: Format:S,igmpstat Length:36
Dump:0x6f190000000000000000000000000000...
net.inet.tcp.rfc1323: 1
net.inet.tcp.rfc1644: 0
net.inet.tcp.mssdflt: 512
net.inet.tcp.stats: Format:S,tcpstat Length:352
Dump:0x9acb01001b0000003eca010086050000...
net.inet.tcp.keepidle: 7200000
net.inet.tcp.keepintvl: 75000
net.inet.tcp.sendspace: 65536
net.inet.tcp.recvspace: 65536
net.inet.tcp.keepinit: 75000
net.inet.tcp.pcblist: Format:S,xtcpcb Length:3716
Dump:0x1800000007000000ede98a0000000000...
net.inet.tcp.v6mssdflt: 1024
net.inet.tcp.rexmt_thresh: 2
net.inet.tcp.rfc3465: 1
net.inet.tcp.maxseg_unacked: 8
net.inet.tcp.slowlink_wsize: 8192
net.inet.tcp.reass.overflows: 0
net.inet.tcp.reass.cursegments: 0
net.inet.tcp.reass.maxsegments: 2048
net.inet.tcp.drop_synfin: 1
net.inet.tcp.tcp_lq_overflow: 1
net.inet.tcp.delayed_ack: 3
net.inet.tcp.blackhole: 2
net.inet.tcp.log_in_vain: 3
net.inet.tcp.socket_unlocked_on_output: 1
net.inet.tcp.packetchain: 50
net.inet.tcp.ecn_negotiate_in: 0
net.inet.tcp.ecn_initiate_out: 0
net.inet.tcp.newreno: 0
net.inet.tcp.local_slowstart_flightsize: 8
net.inet.tcp.slowstart_flightsize: 1
net.inet.tcp.path_mtu_discovery: 1
net.inet.tcp.sack_globalholes: 0
net.inet.tcp.sack_globalmaxholes: 65536
net.inet.tcp.sack_maxholes: 128
net.inet.tcp.sack: 1
net.inet.tcp.rtt_min: 1
net.inet.tcp.background_io_enabled: 1
net.inet.tcp.isn_reseed_interval: 0
net.inet.tcp.strict_rfc1948: 0
net.inet.tcp.icmp_may_rst: 1
net.inet.tcp.pcbcount: 7
net.inet.tcp.do_tcpdrain: 0
net.inet.tcp.tcbhashsize: 4096
net.inet.tcp.minmssoverload: 0
net.inet.tcp.minmss: 216
net.inet.tcp.always_keepalive: 0
net.inet.tcp.msl: 15000
net.inet.tcp.background_io_trigger: 5
net.inet.tcp.sockthreshold: 64
net.inet.tcp.out_sw_cksum_bytes: 0
net.inet.tcp.out_sw_cksum: 0
net.inet.tcp.in_sw_cksum_bytes: 5401453
net.inet.tcp.in_sw_cksum: 132709
net.inet.tcp.win_scale_factor: 3
net.inet.udp.checksum: 1
net.inet.udp.stats: Format:S,udpstat Length:44
Dump:0x342e0300000000000000000000000000...
net.inet.udp.maxdgram: 9216
net.inet.udp.recvspace: 42080
net.inet.udp.pcblist: Format:S,xinpcb Length:5488
Dump:0x1800000011000000b2bf3a0000000000...
net.inet.udp.pcbcount: 17
net.inet.udp.blackhole: 1
net.inet.udp.log_in_vain: 3
net.inet.udp.out_sw_cksum_bytes: 37556
net.inet.udp.out_sw_cksum: 211
net.inet.udp.in_sw_cksum_bytes: 34128
net.inet.udp.in_sw_cksum: 183
net.inet.ipsec.stats: Format:S,ipsecstat Length:12432
Dump:0x00000000000000000000000000000000...
net.inet.ipsec.def_policy: 1
net.inet.ipsec.esp_trans_deflev: 1
net.inet.ipsec.esp_net_deflev: 1
net.inet.ipsec.ah_trans_deflev: 1
net.inet.ipsec.ah_net_deflev: 1
net.inet.ipsec.ah_cleartos: 1
net.inet.ipsec.ah_offsetmask: 0
net.inet.ipsec.dfbit: 0
net.inet.ipsec.ecn: 0
net.inet.ipsec.debug: 0
net.inet.ipsec.esp_randpad: -1
net.inet.ipsec.esp_port: 0
net.inet.ipsec.bypass: 1
net.inet.raw.pcblist: Format:S,xinpcb Length:1008
Dump:0x18000000030000008900000000000000...
net.inet.raw.recvspace: 8192
net.inet.raw.maxdgram: 8192
net.appletalk.ddpstats: Format:S,at_ddp_stats Length:52
Dump:0x00000000000000000000000000000000...
net.appletalk.routermix: 2000
net.appletalk.debug: Format:S,dbgBits Length:8 Dump:0x0000000000000000
net.link.generic.system.ifcount: 8
net.link.generic.system.dlil_input_sanity_check: 0
net.link.generic.system.multi_threaded_input: 1
net.link.ether.inet.send_conflicting_probes: 1
net.link.ether.inet.keep_announcements: 1
net.link.ether.inet.log_arp_warnings: 0
net.link.ether.inet.sendllconflict: 0
net.link.ether.inet.proxyall: 0
net.link.ether.inet.useloopback: 1
net.link.ether.inet.maxtries: 5
net.link.ether.inet.apple_hwcksum_rx: 1
net.link.ether.inet.apple_hwcksum_tx: 1
net.link.ether.inet.host_down_time: 20
net.link.ether.inet.max_age: 1200
net.link.ether.inet.prune_intvl: 300
net.key.debug: 0
net.key.spi_trycnt: 1000
net.key.spi_minval: 256
net.key.spi_maxval: 268435455
net.key.int_random: 60
net.key.larval_lifetime: 30
net.key.blockacq_count: 10
net.key.blockacq_lifetime: 20
net.key.esp_keymin: 256
net.key.esp_auth: 0
net.key.ah_keymin: 128
net.key.prefered_oldsa: 0
net.key.natt_keepalive_interval: 20
net.key.pfkeystat: Format:S,pfkeystat Length:4240
Dump:0x00000000000000000000000000000000...
net.inet6.ip6.forwarding: 0
net.inet6.ip6.redirect: 1
net.inet6.ip6.hlim: 64
net.inet6.ip6.stats: Format:S,ip6stat Length:3200
Dump:0x34130000000000000000000000000000...
net.inet6.ip6.maxfragpackets: 1024
net.inet6.ip6.accept_rtadv: 0
net.inet6.ip6.keepfaith: 0
net.inet6.ip6.log_interval: 5
net.inet6.ip6.hdrnestlimit: 50
net.inet6.ip6.dad_count: 1
net.inet6.ip6.auto_flowlabel: 1
net.inet6.ip6.defmcasthlim: 1
net.inet6.ip6.gifhlim: 0
net.inet6.ip6.kame_version: 20010528/apple-darwin
net.inet6.ip6.use_deprecated: 1
net.inet6.ip6.rr_prune: 5
net.inet6.ip6.v6only: 0
net.inet6.ip6.rtexpire: 3600
net.inet6.ip6.rtminexpire: 10
net.inet6.ip6.rtmaxcache: 128
net.inet6.ip6.use_tempaddr: 0
net.inet6.ip6.temppltime: 86400
net.inet6.ip6.tempvltime: 604800
net.inet6.ip6.auto_linklocal: 1
net.inet6.ip6.rip6stats: Format:S,rip6stat Length:56
Dump:0x00000000000000000000000000000000...
net.inet6.ip6.maxfrags: 8192
net.inet6.ip6.fw.verbose_limit: 0
net.inet6.ip6.fw.verbose: 0
net.inet6.ip6.fw.debug: 0
net.inet6.ip6.fw.enable: 1
net.inet6.ip6.mrt6stat: Format:S,mrt6stat Length:104
Dump:0x00000000000000000000000000000000...
net.inet6.ipsec6.stats: Format:S,ipsecstat Length:12432
Dump:0x00000000000000000000000000000000...
net.inet6.ipsec6.def_policy: 1
net.inet6.ipsec6.esp_trans_deflev: 1
net.inet6.ipsec6.esp_net_deflev: 1
net.inet6.ipsec6.ah_trans_deflev: 1
net.inet6.ipsec6.ah_net_deflev: 1
net.inet6.ipsec6.ecn: 0
net.inet6.ipsec6.debug: 0
net.inet6.ipsec6.esp_randpad: -1
net.inet6.icmp6.stats: Format:S,icmp6stat Length:4328
Dump:0x00000000000000000000000000000000...
net.inet6.icmp6.rediraccept: 1
net.inet6.icmp6.redirtimeout: 600
net.inet6.icmp6.nd6_prune: 1
net.inet6.icmp6.nd6_delay: 5
net.inet6.icmp6.nd6_umaxtries: 3
net.inet6.icmp6.nd6_mmaxtries: 3
net.inet6.icmp6.nd6_useloopback: 1
net.inet6.icmp6.nodeinfo: 3
net.inet6.icmp6.errppslimit: 100
net.inet6.icmp6.nd6_maxnudhint: 0
net.inet6.icmp6.nd6_debug: 0
net.inet6.icmp6.nd6_prlist: Format:S,in6_defrouter Length:280
Dump:0x1c1e000000000000fe80000000000000...
net.pstimeout: 20 20
net.athaggrqmin: 1 1
net.athaggrfmax: 28 28
net.athbgscan: 1 1
net.athCCAThreshold: 91 91
net.athpowermode: 0 1
net.athvendorie: 1 1
net.athdupie: 1 1
net.athaddbaignore: 0 0
net.athppmupdate: 1 1
net.athforceBias: 2 2
net.athbadrxdesc: 0 0
net.athbadrxbuf: 0 0
net.athforcebadrx: 0 0
debug.lowpri_max_waiting_msecs: 200
debug.lowpri_max_window_msecs: 200
debug.lowpri_IO_window_inc: 50
debug.lowpri_IO_initial_window_msecs: 100
debug.bpf_maxdevices: 256
debug.bpf_maxbufsize: 524288
debug.bpf_bufsize: 4096
debug.iokit: 0
debug.net80211: 0 0
debug.athdriver: 0 0
hw.ncpu: 2
hw.byteorder: 1234
hw.memsize: 2147483648
hw.activecpu: 2
hw.optional.x86_64: 1
hw.optional.sse4_2: 0
hw.optional.sse4_1: 0
hw.optional.supplementalsse3: 1
hw.optional.sse3: 1
hw.optional.sse2: 1
hw.optional.sse: 1
hw.optional.mmx: 1
hw.optional.floatingpoint: 1
hw.packages: 1
hw.tbfrequency: 1000000000
hw.l2cachesize: 4194304
hw.l1dcachesize: 32768
hw.l1icachesize: 32768
hw.cachelinesize: 64
hw.cpufrequency_max: 2160000000
hw.cpufrequency_min: 2160000000
hw.cpufrequency: 2160000000
hw.busfrequency_max: 664000000
hw.busfrequency_min: 664000000
hw.busfrequency: 664000000
hw.pagesize: 4096
hw.cachesize: 2147483648 32768 4194304 0 0 0 0 0 0 0
hw.cacheconfig: 2 1 2 0 0 0 0 0 0 0
hw.cpufamily: 1114597871
hw.cpu64bit_capable: 1
hw.cpusubtype: 4
hw.cputype: 7
hw.logicalcpu_max: 2
hw.logicalcpu: 2
hw.physicalcpu_max: 2
hw.physicalcpu: 2
machdep.pmap.hashmax: 13
machdep.pmap.hashcnts: 136155343
machdep.pmap.hashwalks: 134412538
machdep.cpu.address_bits.virtual: 48
machdep.cpu.address_bits.physical: 36
machdep.cpu.cache.size: 4096
machdep.cpu.cache.L2_associativity: 8
machdep.cpu.cache.linesize: 64
machdep.cpu.arch_perf.fixed_width: 0
machdep.cpu.arch_perf.fixed_number: 0
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.version: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.sensor: 1
machdep.cpu.mwait.sub_Cstates: 139808
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.cores_per_package: 2
machdep.cpu.logical_per_package: 2
machdep.cpu.extfeatures: XD EM64T
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR
PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3
MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM
machdep.cpu.brand: 0
machdep.cpu.signature: 1782
machdep.cpu.extfeature_bits: 537919488 1
machdep.cpu.feature_bits: -1075053569 58301
machdep.cpu.stepping: 6
machdep.cpu.extfamily: 0
machdep.cpu.extmodel: 0
machdep.cpu.model: 15
machdep.cpu.family: 6
machdep.cpu.brand_string: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz
machdep.cpu.vendor: GenuineIntel
security.mac.seatbelt.debug: 0
security.mac.seatbelt.profile_refcount: 80
security.mac.seatbelt.qtnstate_refcount: 15
security.mac.seatbelt.cred_label_refcount: 86
security.mac.vnode_enforce: 1
security.mac.vm_enforce: 1
security.mac.sysvshm_enforce: 1
security.mac.sysvsem_enforce: 1
security.mac.sysvmsg_enforce: 1
security.mac.system_enforce: 1
security.mac.socket_enforce: 1
security.mac.proc_enforce: 1
security.mac.posixshm_enforce: 1
security.mac.posixsem_enforce: 1
security.mac.pipe_enforce: 1
security.mac.iokit_enforce: 0
security.mac.file_enforce: 0
security.mac.device_enforce: 1
security.mac.mmap_revocation_via_cow: 0
security.mac.mmap_revocation: 0
security.mac.max_slots: 8


> What's the routing table like (on the
> various machines)?
mac to receive shared connection....
route -v get google.com
u: inet 72.14.207.99; u: link ; RTM_GET: Report Metrics: len 128, pid:
0, seq 1, errno 0, flags:<UP,GATEWAY,HOST,STATIC>
locks:  inits:
sockaddrs: <DST,IFP>
 eh-in-f99.google.com
   route to: eh-in-f99.google.com
destination: default
       mask: default
    gateway: 10.0.1.1
  interface: en0
      flags: <UP,GATEWAY,DONE,STATIC,PRCLONING>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
       0         0         0         0         0         0      1500         0

locks:  inits:
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
 default 10.0.1.1 default en0:0.19.e3.48.10.c0 10.0.1.4

mac to share connection...

route -v get google.com
u: inet 64.233.167.99; u: link ; RTM_GET: Report Metrics: len 128,
pid: 0, seq 1, errno 0, flags:<UP,GATEWAY,HOST,STATIC>
locks:  inits:
sockaddrs: <DST,IFP>
 py-in-f99.google.com
   route to: py-in-f99.google.com
destination: default
       mask: default
    gateway: 192.168.1.1
  interface: en0
      flags: <UP,GATEWAY,DONE,STATIC,PRCLONING>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
       0         0         0         0         0         0      1500         0

locks:  inits:
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
 default 192.168.1.1 default en0:0.11.24.86.f5.52 192.168.1.25

> It also sounds like you're not using a real router but a NAT box,
> which may make this very difficult to impossible depending on that.
> What is it?

It's a linksys home router



-- 
Best Regards,

John Musbach


More information about the MacOSX-admin mailing list