LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2004, 08:41 PM   #1
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Rep: Reputation: 30
smoothwall red interface on wrong nic


I run a cable modem and my service provider authinticates my connection to their network through a network card they gave me. In other words my mac address is used to authinticate my computer on their network. I have installed smoothwall but the red interface is on the wrong card I need to switch the green and red around. How can I do this?

Thanks,
AD
 
Old 03-04-2004, 09:17 PM   #2
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
eth0=red
eth1=green

it needs to be

eth0=green
eth1=red
 
Old 03-09-2004, 02:03 PM   #3
Devinci
LQ Newbie
 
Registered: Mar 2004
Location: Texas
Distribution: Mandrake/Debian/Smoothwall
Posts: 4

Rep: Reputation: 0
smoothwall red interface on wrong nic

Okay, here's what I had to do, I had a similar problem, only my problem was, in my smoothwall machine I have a 10TX card in the slot for eth0 and a 10/100 card in the slot for eth1.
I wanted eth1 to be my public interface because the slower speed would not impact me on the internet, where it was a wildcard I didn't want on my internal network (I wanted all 10/100 interfaces on my network.)
Problem:
By default, smoothwall wants to configure the private interface first, and the public interface second, and of course it wants to use eth0 first.
What I had to do was, instead of having it probe for the first interface, I manually searched for the right driver for the chipset of the card (Did you check and make a note of the chipsets?)
I was fortunate enough, that I had 2 cards of different chipsets.
After I installed the drivers for eth1 while configuring my private (green) interface. I simply allowed it to probe for the other drivers and it installed them perfectly for the other interface.
I hope I explained that better than I think I did.
If that doesn't work for you you'll have to use the "route" command to change your routing tables using the MAC addresses for the cards.
I am about to have to try that so I can subnet my network and I don't even know if it can be done. But that is half the fun of being a newbie!
At least to me it is.
I am a
 
Old 03-11-2004, 11:16 AM   #4
illtbagu
Member
 
Registered: Dec 2002
Location: Nevada
Distribution: fedora, RHEL, ubuntu, suse
Posts: 343

Original Poster
Rep: Reputation: 30
Here is the answer that some guys from the smoothwall forum ponted me at. Here is my post in the smoothwall forum
http://community.smoothwall.org/foru...866&highlight=

here is what they led me too
http://www.ordior.pwp.blueyonder.co.uk/BySwFAQ.html

And this is what I did
------------------------------------------------------------------------------

spoofing the MAC address
edit the file /etc/rc.d/rc.netaddress.up after the two lines :

if [ "$CONFIG_TYPE" = "2" -o "$CONFIG_TYPE" = "3" ]; then
if [ "$RED_DEV" != ""]; then

This is line 23 and 24 of 70 in the latest (0.9.9) Smoothwall

add this line:

ifconfig $RED_DEV hw ether 11:22:33:44:55:66

Note replace 11:22:33:44:55:66 with the MAC address you wish to spoof

Write the file back out and reboot. When it comes back the RED interface (connected to BY) will have the required MAC address
-------------------------------------------------------------------------------
 
  


Reply



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
Red hat don't recognize my NIC interface albatross Linux - Networking 1 04-14-2004 11:36 AM
2 NIC and traffic on the wrong interface Minuteman Linux - Networking 4 09-27-2003 04:18 AM
Smoothwall with UE202B NIC Sir.Del Linux - Distributions 4 10-11-2002 07:45 PM
Smoothwall Interface Problem grahammills Linux - Networking 2 07-26-2002 06:54 AM
Smoothwall orange nic Michael F Linux - Security 0 03-12-2002 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:40 AM.

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
Open Source Consulting | Domain Registration