LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2010, 11:33 PM   #16
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195

According to Alien Bob's WIKI page on Configuring your network in Slackware, you can set DHCP_KEEPGW[0] in /etc/rc.d/rc.inet1.conf to "yes" if you don't want the DHCP server to change your default gateway.

Used in conjunction with GATEWAY in the same file, this would provide a workaround.

Would be nice, of course, to find out why Slackware is not picking up the gateway from the (DDWRT v24) DHCP server, especially when a variety of other OSes do so. It is unlikely to be a VM networking issue. Have you tried setting DHCP_DEBUG[0]="yes" in /etc/rc.d/rc.inet1.conf? Did you try DEBUG_ETH_UP="yes"?

I haven't been able to capture packets to/from the guest using the host. I tried using tcpdump on eth0 while a (VirtualBox) VM was generating network traffic but saw only traffic to/from the host and no packets to/from the guest. [EDIT: but I'm a tcpdump lightweight so that doesn't mean it's not possible]

It may be possible to run tcpdump on the guest, by modifying the etc/rc.d/rc.inet1 script, to start tcpdump after eth0 is brought up, and stop it a few seconds after the /sbin/dhcpcd -t command.

Last edited by catkin; 02-20-2010 at 11:35 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My hostname is NOT resolving correctly cucolin@ Linux - Networking 5 08-29-2007 10:22 AM
locally resolving hostname Hewson Linux - Networking 3 05-16-2007 06:44 PM
Resolving a hostname from it's ip? Infernal211283 Linux - Networking 3 01-09-2006 05:09 AM
hostname updated, but not resolving ericnmu Linux - Networking 5 09-09-2004 05:34 AM
Resolving Hostname on Slackware MrCarl Linux - General 3 11-05-2003 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration