Networking :: Debian 5 Box With Two Nics Acting As Router?

Jul 29, 2011

I have a Debian 5 system with two nics. eth0 is set up with dhcp-client which will receive a public ip address from my isp. The eth1 will be for my local network and I want to use dhcp-server daemon to serve addresses to my internal network. The area I am confused about is how transmissions are getting sent between nics. I've been told to enable tcp forwarding but I don't understand how that would work since the nics have different network addresses... unless tcp forwarding is basically nat or something..

View 2 Replies


ADVERTISEMENT

Networking :: Router Best Having Two NICs ?

May 27, 2010

I am considering moving to a software (ebox/pfSense/Zeroshell etc) based router.

It fits well to have 1 NIC connecting to your modem & the other to your switch & network. It seems to make sense it is more secure, but is it?

If I assign the 1 NIC in my router 2 IPs, a subnet for the modem and a subnet for the LAN, how is the different?

I can't think exactly what it is. I am no network guru and probably missing something down at a lower networking level, but for a home router, does 1 or 2 NICs make any difference?

View 6 Replies View Related

OpenSUSE Network :: 11.2 Acting As Router Firewall

Mar 29, 2010

switched recently to 11.2 and it works fine for me as workstation I want to set up a router separating a part of the network and also acting as a firewall/proxy... Configured 2 Ethernet Interfaces, checked Ip forwarding in Yast but it does not forward the packets from the "internal" to the "external" network. Hovewer after I set up my router as default for machines on internal network I can ping the external interface but no adress on external network (particularly the one of the default router) !!! From the router I can reach both networks and the net via default gateway on external. Tried to:

a) switch firewall completely off
b) iptables -P FORWARD ACCEPT
c) masquarading internal adresses to the external network

my interfaces configuration looks like:
eth0 Link encap:Ethernet HWaddr 00:13:D4:E3:A2:7B
inet addr:192.168.1.34 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:d4ff:fee3:a27b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[Code].....

View 4 Replies View Related

OpenSUSE Network :: Adsl Modem Acting As A Bridge To My Router Setup - Connection - Internet Went Slow ?

Jun 19, 2011

I have an adsl modem acting as a bridge to my router my setup was working well for more than year now , but then the internet went slow . I set the modem back to PPPoE the problem was with the DNS server of the ISP so using ifup i set the dns t 8.8.8.8 (google) the connection is back , but when i set the modem back as a bridge slow internet does the router know that my dns is 8.8.8.8 or i should set the dns on the router ? I can't see an option to set the dns on the router ( i just enter my username and password from the isp to use PPPoE mode ) by the way i called the isp support they kept telling me to restart , i told them i did but i never restarted my pc . I'm sure if i tell them i'm running linux they will blame the os !

View 2 Replies View Related

Debian :: Unmounting A USBstick Acting As A Modem?

Apr 13, 2011

after some hard times, I finally managed to have my Orange Huawei E1752 HSPA modem running (a USB modem enabling you to surf the net) the only thing is that I have 2 "problems" with this: I cannot find a clean way to eject the stick when I am done using it. when I want to run it, I plug it, it asks me for the PIN code, which I give, then I do the following manipulations: I first run:

usb_modeswitch
it "creates" 2 files /dev/ttyUSB0 and /dev/ttyUSB1, what I check with:
ls -l /dev/ttyUSB*

then I use the usbserial module to handle the stick: modprobe usbserial vendor=0x12d1 product=0x141b then I check that the stick is working with: dmesg|grep GSM that outputs something like: USB Serial support registered for GSM modem (1-port) option 1-5:1.0: GSM modem (1-port) converter detected usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0 option 1-5:1.1: GSM modem (1-port) converter detected
usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1 option: v0.7.2:USB Driver for GSM modems
finally I choose the "Orange Default" in the list of available connections in the network manager icon on the panel and I am finally connected The thing is, that when I am done, I just go to the same list and then click "disconnect" I go on "Computer" and left click on the SD 4Gb storage (the SD card also in the stick) safely remote drive or something like this. Then I thought that unmounting the device would work,

[Code]...

As a newbie (and especially regarding the use of those modems) I am running out of ideas to "eject" it cleanly, I also checked in the /dev/ file to see that the ttyUSB0 and ttyUSB1 files are present

View 2 Replies View Related

Debian :: Machine Acting Buggy - Fan Kept Running After Update

Feb 3, 2011

Just updated, downloads and install complete. I closed laptop. Fan kept running. I rebooted. Black screen. Rebooted again. Screen resolution messed up (800x600 or whatever). Changed resolution in System/Prefs. Better, but the look is not the same as before update. The Gnome fonts and icons are too small, but the resolution is same as before update! My machine has been acting buggy lately...colored text in IceWeasel browser search field, where normally black. I have Firestarter running. How to tell if machine is hacked? I just logged out/in and all normal now. I still think the machine is acting weird.

View 1 Replies View Related

Networking :: DNS Acting Extremely Weird

Mar 10, 2009

We have a nameserver which we moved over from an old server & ip a couple of weeks ago and updated all our dns records.Currently, our dns provider shows the proper records for our server, and if we dig the server at our dns provider we get the results. However, if we ping the server, or dig it and don't specify our server we get the old ip address.An opendns cache check also sporadically returns the proper results from some of its locations but generally returns the old ip address. Does anyone have any suggestions because this bewildering me.

View 1 Replies View Related

Debian Configuration :: Laptop DVD Drive Is Acting Odd (blank) After Update

Aug 20, 2010

After the mass amount of updates that appeared for Debian, my DVD drive seems to detect a burned DVD I have as blank now. And when i put in the disc, there's two copies of the DVD drive on Computer, both of which are labeled CD/DVD Drive: Blank DVD-ROM Disc. I have gone in to disc manager and found that it is possible to mount the volume on the disc, and on the second icon it will appear and work. However, this is annoying having two icons.

Now, when I don't have a disc in there, it only shows one drive. My PC may have messed up during the updates, because I just let it update in the background while my sister was using it to show my mom's friends pictures and she randomly closed out of one of the windows without asking me anything (ffff), so that may have messed something up. Does anyone know how I would go about fixing this?

View 7 Replies View Related

Networking :: Netbook Acting As A Server And As A Switch?

Dec 14, 2010

I want to use 2 network cards on a notebook (one internal and one by USB). I don't want the typical "internet sharing", so I want it to act really as a switch:

Other room <== 1Gb/s ==> Notebook <== 100Mb/s ==> network switch with more computers.

I want to do it because i want to use the 1Gb/s link from the other room to the "servers" room, and then the rest of servers will run at 100Mb/s. I wanna all my computers in the same network, like there's no notebook in the middle, so the Notebook will act as a switch (and a server). i wanna (assumming all of this is possible): Code: > [network switch] 1Gb/s

> 192.168.2.1 [router] 100Mb/s
> 192.168.2.2 [wi-fi AP] 100Mb/s
> other room 192.168.2.50 [new notebook] 1Gb/s

[code]....

View 5 Replies View Related

Debian :: OpenVPN No Acces To Other NICS?

Mar 9, 2011

I have a Debian Lenny server with Bind9 (slave) Shorewall and OpenVPN on it. I also have a Win 7 client at my disposal to test the OpenVPN connection.I can make a connection with my Win 7 but when i'm connected i can only ping myself and the server's OpenVPN NIC (TUN0). The Debian server has 3 NICS. One for the servers, one for the internet and one for the clients.

View 1 Replies View Related

Debian :: Networking Disabling Interface When Router Is Down?

Jan 27, 2011

I have a Debian computer with 2 network interfaces. Ath0 for wifi and eth0 for cable.
They're configured as dhcp and are getting their ip from different routers. When I shut down one of the router, it takes 5 minutes for the ip address to "Go away". I would like this to take a shorter time. I figured it must be a setting, but my attempts so far have been unsuccessfull. Is there a way to do this?

I'm using dhcp3-client (dhclient) as my client.

View 4 Replies View Related

Networking :: Get Debian To Broadcast Its Host Name To Router?

Dec 4, 2009

I have a router and when my Debian machine connects I get "null" as the host name. How can I get it to display the host name?

View 11 Replies View Related

Networking :: How To Set Up Router Default Web Page On Debian / GNU?

Oct 10, 2009

I have set up a LAN/WLAN, DDNS server, DCHP server, and a proxy/NAT server using Debian/GNU. Now I would like to redirect the host web browser to a welcome web page so the users of my network can read the terms of use and accept them before having access to the internet. Could some one help me to achieve this?

View 2 Replies View Related

Networking :: 2 NICs In One Box On 2 Different Networks

Jun 5, 2009

I have attached a diagram to show the layout, but basically I have a server that has 2 nics. I use NIC1 for the server and its services. Im using VirtualBox to run VMs and want to use NIC2 for the VMs exclusively and I want the VMs on a different network completely from the host.Ive tried setting up NIC2 on the other network but I end up with networking problems on network1. Also I cant figure out how to tell VirtualBox to bind to the host NIC2.

View 2 Replies View Related

Networking :: 2 Nics In Same Subnet?

Jan 8, 2010

I have 2 x PCs and a NAS. Both PCs have 2x NICS. PC connectivity to Internet is via an ADSL router. Current config: Thus far (by choice) I've used static IPs in the 192.168.168.x range for my internal network, connecting all PCs and NAS via a jumbo frame enabled gigabit switch. This has facilitated moving data between the PCs and the NAS at high-speed. As both PCs also required Internet access from time to time, both are also connected to the ADSL router using the 2nd NIC and using subnet 192.168.1.x. I'm sure some of you are shaking your heads by now, but it works well and has been entirely hassle free.

However, I've an app running on the NAS that I'm keen to get Internet connected also. As my existing network devices are not using DHCP I figured the simplest method would be to change my ADSL router configuration such that it is in the same 192.168.168.x subnet, change its DHCP server settings to serve IPs in the same subnet (but in a restricted range I know won't cause any conflicts with the static IPs) and problem solved. On changing the ADSL router confiruration with all machines already booted up and configured as described above, everything worked. All devices could see one another, and access the Internet. On later rebooting the system this no longer works

- Internet access is fine but PCs don't see one another or the NAS. If I disconnect the ADSL Router from the PCs then all devices see one another again.

- Does having 2x NICS on a single device each assigned unique IPs in the same subnet create an issue and can it be overcome? I'd like to overcome it because making one of my PCs the gateway forces me to have it on anytime another device needs access.

- If I'm forced to use Internet connection sharing with one PC on the network connected to the router, how do I best configure this?

- One of the things I need to retain is gigabit connectivity between the PCs and PCs and the NAS (currently achieved by 192.168.168.x subnet being linked via gigabit switch).

View 4 Replies View Related

Networking :: Bridged VPN With Two NICs

Jun 4, 2010

My brother has a Ubuntu server attached to a LAN with Windows PCs. I set up an openVPN tun service on the server, let's call this VPN1, so that I can connect remotely from my Ubuntu desktop. The server has one NIC and the LAN has a router that is the gateway to the internet.

My brother would like to remotely access his windows network when roaming with his Windows laptop.

Therefore, I would like to set up a second VPN service, this time tap, that is bridged with his LAN. Let's call this VPN2.

The LAN subnet is 192.168.1.0/24. The internet gateway is 192.168.1.1

The NIC has a fixed IP set by the router of 192.168.1.150

How do I set up VPN2 so as not to trash VPN1? That is, if I bridge eth0 with tap0 how will that impact VPN1's tun0 that is using eth0? Do I need a separate NIC for the VPN2 bridge?

View 1 Replies View Related

Networking :: Routing Between 2 Nics?

Mar 10, 2011

I have a pc with debian 6 (without GUI) installed on it and want to use it as server at home. It has 2 ethernet nics. Now i want to configure the routing process. Searched internet for a long time found something but couldn't get it work.

View 8 Replies View Related

Networking :: Assign 2 Different IP's To 2 Different NICs?

Jun 17, 2010

My server has 2 network cards. I have SLES 10 SP2 installed on this server. I had configured Ethernet bonding on this machine using 2 NICs. Now I want to assign 2 different IP's to 2 different NICs. I am able to do this without any issue using yast. ifconfig command shows that eth0 has 192.168.1.10 and eth1 has 192.168.1.12. Rest all networking details are same (netmask, gateway, DNS)

Strange thing: When I unplug only eth0, (eth1 is plugged in correctly) I am not able to ping any IP.
If I unplug only eth1, (eth0 is plugged in) I am able to ping both IP's.

[Code]...

View 3 Replies View Related

Networking :: Virtual Nics And Nat ?

Apr 25, 2010

My PC has 2 NICs Eth0 has 3 virtual NICs:

My every PC (172.16.1.1 to 172.16.1.4) has installed webmin and listen on port 10000

When browse from LAN http://202.1.2.3:10000 .. it goes to the webmin page of 202.1.2.1 .. why?

This problem ONLY occurs when browse the site from LAN! and it works properly if we access it from Internet.

View 3 Replies View Related

Ubuntu Networking :: Can't Get Any NICs To Work?

May 18, 2011

Ok so I'm gonna try and explain this easily. I installed 11.04 32bit on an older HP P4 machine. Boots up and goes to classic desktop.. But networking looks like a wifi devices rather than a wired connection. I installed another NIC rather than the onboard but had the same result.. I also tried yet another PCI NIC and a USB NIC with the same result. I also tried to set my connection to manual and give myself a static IP, but had no such luck.

I know my internet connection works because I'm on another machine typing this to you all.. All the NICs also work in W7 on the dualboot setup I did.

View 1 Replies View Related

Networking :: 2 NICs Permanently IP Address

Jun 15, 2011

I have 2 NICs on my ubuntu server.... eth0 has its IP address....but eth1 doesnt.

How do I assign an IP address to eth1 using only commands on the command line?

And I need it to be permanently...

View 2 Replies View Related

Networking :: DHCP And Static On 2 NICs

Jan 12, 2010

I have a MB with 2 NICs and on 1 I would like to have a static IP, on the other a DHCP for a local network.The problem is the DHCP provided gateway is made default vs the one for the static IP and resolv.conf is overwritten.Any suggestions how could this be resolved? I can tweak both the DHCP server settings and the box settings.

View 14 Replies View Related

Networking :: Route Packets Across NICS's?

Mar 11, 2010

I have two NIC's interfaces on my linux machine(eth1 and eth2). Each have different IP addresses(10.0.0.1, 10.67.7.1). These two interfaces are connected together through hub. Here is the my question?

1) If I 'ping 10.0.0.1', it should go out through network interface eth2 and through hub and enter on eth1 and response also travel through similar direction.

2) If I 'ping 10.67.7.1', it should go out through network interface eth1 and through hub and enter on eth2.

How can setup routing table for this,I have tried setting up routing and iptables, etc.. nothing helped.

If any one good router/networking guy, you should know this one.I am doing a project, I want this way to handle this.

View 9 Replies View Related

Networking :: Routing Between Two NICS On The Same Subnet?

Aug 2, 2010

I'm trying to work out how to route all traffic destined for the internet from all devices connected to eth0 to a wireless router access point via wlan0 on my Slackware box. I also have dhcpd providing ip addresses on the same subnet to any device connected to both eth0 and wlan0.

Diagram:

Code:
____________ ____________
[ ]=============> (wifi) ==============>[ Router / ]
|Workstations| __________ |Access Point| 192.168.2.1
[____________]==>(eth0)==>[ ]<==(wlan0)==>[____________]
192.168.2.253| Server |192.168.2.254
[__________]

If I connect to the router/access point via wireless or directly to the Server via a crossover cable I can obtain an ip address from dhcpd, so that works. As far as I can see I just need to how to route between eth0 and wlan0 then I can provide internet access to those devices!

ifconfig:

Code:

eth0 Link encap:Ethernet HWaddr **:**:**:**:**:**
inet addr:192.168.2.253 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::201:2eff:fe27:aea3/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1

[code].....

View 10 Replies View Related

Networking :: Samba On Notebook With 2 NICs?

Jul 6, 2011

I currently have Samba working properly using the eth0 interface on my notebook computer. More importantly, I can browse the network and see the shares set up in Samba. If I disconnect and go wireless using the wlan0 interface I can no longer browse the shares on Samba via name. I can however browse via IP address of the wlan0 interface. How can I make it so that Samba is accessible by name when I switch between interfaces?

Code:

[global]
workgroup = startrek
server string = NCC-1701 Enterprise
bind interfaces only = yes

[code]...

View 4 Replies View Related

Networking :: Split Traffic Over 2 Nics?

Feb 25, 2011

I'm running 2 asterisk box (Centos) ,and the two servers are connected through 2 iax trunks.on one server i have 2 nics ,each one is connected to internet,now i want to use isp 1 for the first trunk and isp 2 for the second trunk.

iax 1 is listening on 12345
iax 2 is listening on 11223

is there a way to split traffic on both nic using ports (netfilter iptables)?

View 1 Replies View Related

Ubuntu Networking :: DLink ADSL Router As Main Router And The Belkin N1 As Repeater?

Apr 13, 2010

Because of the configuration of my house, I need two routers.I have a DLink ADSL router as my main router and the Belkin N1 as my repeater.I have set up the IP address in the Belkin to be 10.1.1.10 - my DLink is 10.1.1.1. I have disable the dhcp in the Belkin and set the DNS as ISP provided. [URL]..I have set the channel to 11 and in the Ubuntu Network Manger I have set the IPV4 to Link Local Only. I can see the Belkin and connect with my PC.but it will not take me through to the internet.

View 9 Replies View Related

Networking :: Debian Router, 2 NIC, Traverse Viking ADSL+ Card?

Jan 6, 2010

Since this is my first post, before i describe my problem, i'd like to say regrats to all of you for maintaining here such a good support community.

So, here we go: I have a headless Debian box and i want to set it up as a small office router/gateway. On the box i installed a regular NIC and a Viking Traverse ADSL+ Card which gets recognised by the OS as an 8139 ethernet card and has an embedded ADSL+ modem. The modem is accesible through the PHY interface once it gets assigned an IP. Having said that here is the actual setup:

eth0 : Viking Card
eth1 : NIC (this NIC is connected to a switch)
eth0 : 192.168.1.2 (internal modem is on 192.168.1.1)
eth1 : 192.168.1.3
/etc/network/interfaces

[Code]...

View 1 Replies View Related

Networking :: Setting Up Linux Box As IPv6 Router To Replace Netgear WNR1000 Wireless Router?

Jun 18, 2011

I want to set up a Linux box as a wireless router to replace our existing Netgear WNR1000 router, as I believe the Netgear does not support the coming IPv6 protocol. Unfortunately, it is not flashable with OpenWRT or DD-WRT presently.

As we have Comcast, our cable modem acts as a dumb modem according to the customer support guy I talked to, and our router is the one that asks for the IP address from DHCP. Thus, when Comcast switches over to IPv6, I don't believe my existing router would work, correct?

My idea is to take a Linux box and put two NICs and a wireless adapter in it, using IPCop or Smoothwall to set up a router. I could then enable IPv6 support for when we have IPv6 with Comcast. Is that possible? Would there be a way to get BIND to hand out private IP addresses in the same subnet on the both the LAN NIC and the wireless card?

View 1 Replies View Related

Networking :: Set Up A Laptop As A Router To Connect Wirelessly To ADSL Router?

Nov 6, 2009

I have a desktop PC running Ubuntu 9.10 and Windows 7, and a Eee PC 701 laptop running EasyPeasy Ubuntu 9.04. I'd like to connect the desktop to the laptop with a wired connection (eth0), then the laptop to my ADSL router using wireless (ath0).

I have a crossover ethernet cable (I bought on ebay). I have set up my laptop with a static IP address on my LAN and it uses OpenDNS.

I have added this to /etc/sysctl.conf on the laptop:

net.ipv4.ip_forward=1

Then I tried this on the laptop:

sudo iptables --table nat --append POSTROUTING --out-interface ath0 -j MASQUERADE
sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT

This is a variation on what I found on other sites describing how to set up a router. I don't understand iptables very well, but I gather that the above two lines should set up forwarding so that traffic from my router to the laptop will be forwarded to the desktop, and vice versa.

But this doesn't work. The connection doesn't even establish between the laptop and the desktop.

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved