DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th May 2008
Johnny2Bad Johnny2Bad is offline
Port Guard
 
Join Date: May 2008
Posts: 21
Thanked 0 Times in 0 Posts
Unhappy Cannot get new installed card to ping other machine

Hi,
I have added another NIC to my machine, but I cannot get it to ping my windows box.

Everything seems to be configured correctly the new card appears as sk0 hardware device, the onboard one as sis0. The windows box has an IP of 192.168.0.1, on the linux box sis0 is at 192.168.0.2 and the one that doesn't seem to work sk0 is at 192.168.0.3.

When I connect up sk0 to the windows box via a cross over cable. Pings just wont get through. Is this a network routing issue? And if so how do I enter a route to 192.168.0.1 (windows) from the sk0 device?

Any help would be appreciated.

Thanking you in advance,
Jonathan.
Reply With Quote
  #2   (View Single Post)  
Old 15th May 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,116
Thanked 182 Times in 149 Posts
Default

Your second NIC needs to be on another subnet. It cannot be on the same subnet as the first NIC.
After assigning an address in another subnet , you also need to enable forwarding of the IP traffic between the two NICs.

In rc.conf
Code:
gateway_enable='YES'
Alternative is to use the appropiate sysctl to enable this. Finding the name of this sysctl is left as an exercise for the reader
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 10th June 2008
tad1214 tad1214 is offline
Real Name: Thomas Donnelly
Fdisk Soldier
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 60
Thanked 0 Times in 0 Posts
Default

Did you get this working? My first thing to check if you didn't would be make sure that windows firewall is turned off.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pre-installed Groups: What are they for? Greg_Morgan OpenBSD General 5 11th October 2009 01:05 AM
FreeBSD ping issue wooki FreeBSD General 1 2nd October 2009 04:10 PM
router sees my wireless mac addres but I cannot ping it gosha OpenBSD General 7 26th July 2009 10:38 PM
Installed 4.3 & No GUI warriors OpenBSD General 24 14th August 2008 11:28 AM
The Ping Torture of Tantalus" - A Greek tragedy exposing ARP and DNS J65nko Guides 0 6th May 2008 10:44 PM


All times are GMT. The time now is 11:42 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick