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 |
eth0=red
eth1=green it needs to be eth0=green eth1=red |
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 :newbie: |
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 ------------------------------------------------------------------------------- |
All times are GMT -5. The time now is 11:20 PM. |