Networking :: Linux As A Router / Bring 147 & 148 IP Online Without Router?

Mar 26, 2009

These r IP provided by my ISP that i've put on Fedora 8:

WAN IP:xxx.xxx.xxx.17 (eth0)
Subnet:255.255.255.252
Gateway:xxx.xxx.xxx.18

Valid static(public) IP set of 2:
IP:xxx.xxx.xxx.147 & 148 (eth1, eth2)
Subnet:255.255.255.240

i want to run xxx.xxx.xxx.147 as a web server & xxx.xxx.xxx.148 as a ftp server. but I'm able to ping only xxx.xxx.xxx.17(WAN IP) from outside world. Can any1 tell me that how can i bring my 147 & 148 IP online without router.

View 6 Replies


ADVERTISEMENT

Networking :: Linux Router / Configure Linux CentOS 5 As A Router Using Iptable?

Nov 27, 2009

I want to configure linux CentOS 5 as a router using iptable, .Im new in linux so I need the steps to do that

View 5 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 :: Linux Router / Make A Router By Linux?

Mar 26, 2010

How do I make a router by Linux?In other words you want your Linux to work as a router.

View 10 Replies View Related

Networking :: Configure ACL In Linux Based Router?

Jun 30, 2009

I want to configure a ACL Permit/ Deny, what steps I need to keep in consideration.

View 2 Replies View Related

Networking :: WPA2 Network - Ndiswrapper Wireless - Ubuntu 9.04 - Reset Router To Get Online

Apr 1, 2010

I've been having a network problem that I've been able to temporarily solve by rebooting the router, but even that can be shaky at times, and it can sometimes disturb others' internet activites, so I'd really like to tackle this while I can. I had an old thread about this, but it's ancient history by now, and plus which, I've got a bit more Linux experience and patience than I did before.

The basic problem is that NetworkManager will associate and connect to my home wireless network, but a) it won't let me ping the router or anywhere else ("Destination Host Unreachable"), and b) the connection lasts for maybe a couple minutes at most. If I reset the router, however, 9 times out of 10 it will associate and connect successfully and I can get online, but I have to run a constant ping to the router with a 10-second interval, otherwise it drops the connection, unless I'm doing a lot of other heavy network activity.

ping 192.168.1.1 (the router):

Code:

I've tried wpa_supplicant, but this is what I get (it's apparently unsuccessful...? ESSID/MAC addresses censored where necessary):

Code:

The last prompt line is included because I cancelled it myself; it didn't abort on its own. If left unmonitored, it basically keeps doing this over and over, with no visible network activity at all.

With NetworkManager, I can keep selecting the network's ESSID over and over, and it seems to reconnect, but I still can't ping out anywhere. I'm using a Netgear WN111v1 wireless adapter with ndiswrapper and the Windows drivers. I have no idea what the chipset is, and I doubt that Linux drivers exist for it, even if I knew what it was. The router is using WPA2 security (hence my trying wpa_supplicant)

lsusb:

Code:

ifconfig wlan0 (while connected; IP/MAC addresses censored where needed):

Code:

ifconfig wlan0 (while not connected; IP/MAC addresses censored where needed):

Code:

Code:

I only include this for format checking purposes. The commented out "psk" is the actual text passphrase, while the uncommented one is (presumably) a hex representation of the same key. Is this correct? I've never done this with wpa_supplicant before, I've only used NetworkManager (which is a pain in the @$$ because it requires X to run, and so it disconnects any time I log out/back in ).

Is there any hope of getting my wireless connection permanently working, so that I don't have to reset the router every time I need to reboot or log out/back in?

View 15 Replies View Related

Networking :: Linux OS As Router / Surf The Web Both On Computer And On Laptop?

Feb 20, 2011

I have two network cards in my computer (Debian). One (eth0) is connected to the router which is connected to the internet, the other one (eth1) is connected to my laptop (Gentoo). Now I want to surf the web both on my computer and on my laptop. I obeyed some tutorials "Linux as router":

1. On my Debian system IP-Forwarding is on:

Code:

takada:/home/sam# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1

2. Laptop has IP 192.168.0.2 and this is the output of 'cat /etc/network/interfaces' on my computer:

Code:

takada:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface

But a ping from my laptop to 192.168.1.1 (router to internet) still gives:

Code:
connect: Network is unreachable

View 4 Replies View Related

Networking :: Linux Router / Config Should Be Done On The Box So That IPs Inside The LAN Can Be Ping From The Internet?

Mar 4, 2010

I am using centos box as a router. WAN side has a public ip and lan side also using a public ip. I configured dhcp server on the LAN side and it is working perfectly, pcs on the LAN side can able to access the internet.

Problem: Considering the fact that LAN IPs is using Public IP and it is presumed that from the internet it can be able to ping IPs inside the LAN but, alas, it couldn't.

No firewall has been config!

Question: What config should be done on the box so that IPs inside the LAN can be ping from the internet?

View 9 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 :: Setting Up Squid Proxy To Virtual Linux Soho Router?

Mar 31, 2011

i must make this work with the use of virtual pc's. I have vm player and installed fedora ( the latest version ) and one xp . So i have 2 virtual pc's. I'm making it simple for start so i can add more pc's when i see that it is working. I have setup a dhcp server at the fedora virtual pc. The fedora virtual pc is like a soho router. The xp pc is getting ip from dhcp while the fedora one has a static one.

My pc is behind an adsl router. Both virtual pc's can see each other which means i have no connectivity issues.Im trying to setup a squid proxy ( transparent one ) so for example the xp pc can access porn sites and such. I used all required configuration for the squid to work and started the service. Ive also inserted with iptables the commands to forward all incoming port 80 packets to port 3128 ( the squid ). It doesnt seems to be working and i thik i know why but i dont know how to fix it.

Because the xp has a gateway at 192.168.1.1 ( the adsl router ) packets go directly to it and not to the soho router ( fedora virtual pc as i intend to do) What can i do to solve this problem ? How can i forward all packets to go to the fedora virtual pc first and then the fedora pc to forward them (if necessary) to the adsl router? PS. I used Bridged connection on the networking configutration on the vmware player ! If you also want i can post the code for squid or iptables if needed !

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

Networking :: Network Setup - Router - Wireless Router Card ?

Apr 24, 2010

I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.

Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.

Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).

The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.

Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).

Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.

Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).

My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?

Here is a link to (picture) my network diagram. Network Diagram

View 2 Replies View Related

Networking :: Old Router Behind New Router - Configuration ?

Oct 30, 2010

I've moved a linuxbox from being my gateway (nat, etc) to behind a new gateway (a DD-wrt router). For transparency purposes, I'd like to continue using the old box services, and just have the gateway in front of it.

Here's what I did:

The newgateway is setup for class C, 192.168.0.0

This configuration works, but sometimes it doesn't and I haven't figured out why yet.

At sometimes, clients on the LAN get throughput rates with very little speed loss (using speakeasy speed test). They will run at 33M on the LAN, running through both the newgateway, and the oldbox, and get about 35M with directly connected to the cable modem.

Other times, it seems nothing can talk with anyone, and I am not sure why.

I know what I have done is a little unconventional, but it's a transitional thing, and I am not sure it is the cause of the problem, although it was the last things changed.

View 2 Replies View Related

Debian Configuration :: Cannot See Linux In Router

Jun 19, 2015

I cannot see my debian linux machine in my virgin media router>>attached devices. I can see everything else including my raspberry pi.

The box is headless but I connected up to tv temporary and did ifconfig and got the ip address. I can ssh to it and connect to minecraft server I have running on it but I would like to know why I cannot see it in the router.

View 4 Replies View Related

Ubuntu Networking :: Use One Wireless Router To Connect/detect To Another Wireless Router?

Aug 1, 2010

My son lost his USB Wireless stick for his Computer. I had thought I heard that if you had a second wireless router, you could use it somehow to detect the wireless router you have already set up in your home (like using a wireless card)? Is this what Ad-Hoc is? Either way, can this be done and if so how? I use a WRT54Gx2 Lynksys router and have a TRENDNET TEW-432BRP wireless router and also a spare D-link DI-514. I use ubuntu 10.04, and also wanted to know if I connected one of the router to his on the LAn port could he connect msaybe through an Ad-Hoc on my local computer here? He uses XP on his. I'm a newbie to linux and networking in general.

View 2 Replies View Related

Networking :: Cannot Ping Wireless Router Or Access Router Settings - Wireless ?

Jun 9, 2010

I moved my server and network equipment, and now the wireless works but I cannot get my server online. I host a website, so this is kind of urgent.

I have a wireless router and can access the internet fine on my laptop. My server is wired & connected to the router. It sets up the networking properly.. ifconfig has an ip address, the default gateway is present. But I cannot ping google, or even the router. It says destination host unreachable.

So I go back to the laptop to check the router settings.. sometimes it likes to assign the server the wrong internal ip. But, I can't access the router settings either! The page (192.168.1.1) times out. Same with trying to ping the router. How can the laptop be online if it can't reach the router?

Oddly, ifconfig on my laptop reports an ip address starting with 99.233. It's always given me an internal address starting with 192.168. What's going on here? Is the router not allocating an internal ip? I use wicd to connect, if it's relevant.

We have a windows laptop that can only get a "local connection". Now it does sound like the router is forwarding directly to my laptop, instead of allocating internal ips.

View 1 Replies View Related

Networking :: Network Configuration: Server - Router Vs Router-server

Aug 14, 2010

I am thinking of moving the router behind a server and connecting the server directly to the internet via a modem. Are there any security issues related to doing this? or other things I should be aware of. Iptables are implemented on the server blocking access on unused ports.

View 2 Replies View Related

General :: Laptop As Router Between Wireless Router And Windows 7 Box

Aug 7, 2010

I'm using a cross-over ethernet cable to connect a Desktop Windows 7 box, and a laptop running on SUSE 11.2. I want Windows to connect to the internet via the laptop's wireless interface.

View 1 Replies View Related

Networking :: Get The Wireless Router To Connect To The Other Wireless Router?

Feb 16, 2009

This is my basic setup:

[URL]

I don't know how to get the wireless router to connect to the other wireless router so I can use internet on my computer. How do I achieve this wireless connection?

View 1 Replies View Related

Ubuntu :: Difference Between A $29.95 Router And A $109.95 Router?

Dec 12, 2010

I was just wondering if there is there is any difference between a $29.95 router and a $109.95 router. Like is a more expensive router more apt to transfer data to my laptop quicker.

View 9 Replies View Related

Ubuntu :: How To Set Up Asus RT-N16 Wireless Router In Linux Ubuntu And/or Other Distros

Jul 18, 2010

Hey, why doesn't anyone ever answer my questions about Linux support for routers?

Can someone please tell me how to set it up. The setup software that comes with it is specifically for Windows.

View 2 Replies View Related

Ubuntu :: Bring New Computer Up Online 11.04?

Jun 3, 2011

I got in it this time. Bought the components and have them installed.. Turned on the box, several beeps,and then American Mega trends screen came up. Move into BIOS to look around but left everything as "Default".The F header is connected, DVD lights up, power off and on, all fans are also running. The cooler fan, two additional case fans, and the fan on the GForce video card are also running. burned an ISO of 11.04, and as the screen placed it in DVD drive, hit a key and got a request to "Insert Boot Media and hit a key, and hit a key.Can't get passed the request. I don't know whether to try to format the HD with "Partition Magic". or what. Is there a "HowTo' out there, or could someone give me a hand.

[Code]...

View 9 Replies View Related

Fedora Networking :: Router IP Different From WAN IP?

Apr 5, 2010

I have been playing around with the Apache web server setup detailed herehttp://forums.fedoraforum.org/showthread.php?t=178660 Everything works fine locally, I'm stuck on step 5. www.whatismyip.com says my IP is 208.94.XX.XX. When I try to find my server at 208.94.XX.XX, I see a mikrotik routerOS page which looks like is part of my ISP's hardware. According to my router, the IP of it is 172.16.XX.XX.So I'm guessing my router isn't exposed to the WAN. Is there a way to connect to my server remotely? I have asked my ISP the same question via email, but they are taking their time getting back to me so I thought I could bounce this off of the Fedora Forum.

View 6 Replies View Related

Ubuntu Networking :: Can't Log On To Router

Mar 5, 2010

I have a WRT54G router, and I would like to log on to it, but for some reason, I can't. I can ping the router, and and when I try ssh into it, ssh returns with

Code:
ssh: connect to host 192.168.1.125 port 22: Connection refused

which seems to imply that 192.168.1.125 is a valid address, for 192.168.1.1 returns

Code:
ssh: connect to host 192.168.1.1 port 22: no route to host

But I just can't log on to the router, neither via ssh, not via web.

View 6 Replies View Related

Networking :: Ssh Behind A Router - Cannot Access From The Outside

Feb 17, 2011

i use slackware 13.1 i have apache, mysq, php - working i have a router netgear WPN824v2 - latest firmware port forwarding to my comp 192.168.1.105 port 22 i can access my ssh from my internel lan, but i cannot access it from the outside... i used [URL] to test the port and it says that is closed. i used PFportCheck Program on my other windows computer and it says that "port 22 is opened on another device!" - which is good because it's opened on this computer. also tried to changed the port on sshd_config to 6655 and 22 but it's still cannot connect...

View 1 Replies View Related

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

Networking :: SSH Key Login Won't Go Through Router

Mar 13, 2011

I can log in using a key I have put in my authorized_keys file when logging in from my LAN.

I can log in using password when I am logging in from WAN.

I cannot log in using the same key when logging in from WAN.

I am going through a DD-WRT router with UPnP disabled and the appropriate port forwarded to the server IP address.

Do I have a config file issue?

View 3 Replies View Related

Networking :: SSH Through ADSL Router?

Nov 1, 2010

1) I have an ADSL router for internet and RHL box sitting on the southside of the southside of the router with local IP configured.

I have to access the Linux box through the internet.

I have tried to port forward the SSH port on the ADSL router, that is not working.

View 6 Replies View Related

Networking :: Using Computer As Router?

Dec 25, 2010

I want to use a linux computer as a router in a medium sized organization. we have around 10MB internet and we have to distribute it among some 2000 pcs. so i have a computer available, and wanted to do some bandwidth management on it (with tc). want to know if this is possible or if it might create a bottle neck.(the internet is coming from 2 different ISPs). Using a router is not an option, coz our organization is happy with what they get currently BUT since its unmanaged it has lots of problems, and also there is no money for buying a router

View 9 Replies View Related

Fedora Networking :: How To Access A Router

Mar 18, 2010

Guys in windows we physically acces the router by accesories -> communication tools. same way how do we access in fedora?? Similarly is it possible to convert a Fedora system to an router?

View 5 Replies View Related







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