Ubuntu Networking :: Connecting To Internet Via LAN / What Is GATEWAY?
Jun 19, 2010
Whenever i used to setup a new connection in Windows it would just ask me User name and password here i need to fill up something called as "Gateway" !? The connection won't be accepted unless i fill up something in there... So, what do i put in there? I'm on a LAN of 3 computers connected with a router.The router takes one wire as input from the modem(cable).
I have been messing around with Ubuntu on an old PC I have and I really like it so I wanted to dualboot the family PC with Vista and Ubuntu to see if I could also convert my parents into linux lovers too. I got ubuntu installed on a seperate partition and everything boots fine, but when I'm in Ubuntu, it won't connect through our wired internet but if I'm in Vista, the internet is fine. I really want to start using Ubuntu on this computer but there is virtually nothing I can do in Ubuntu without the internet working. I also posted on ubuntuforums but they have only asked me to get them a bunch of codes from the terminal, that unfortunately I can't read.. but maybe some of you may know whats going on. [URL] This is the link to the other forum with all the information. The computer is a Gateway GT5622 with a Integrated Realtek 8111B 10/100 Mbps Ethernet LAN.
I have setup an ubuntu gateway server by using four NIC cards.
eth0 :210.212.235.107 is connected to the internet eth1 :192.168.1.222 is connected to the local network eth2 :192.168.2.222 is connected to another network
Here 192.168.1.222 is the gateway for 192.168.1.0 network and 192.168.2.222 is the gateway for 192.168.2.0 network.These network configurations are working fine, but i want to block inter network communication ie from 192.168.1.0 network to 192.168.2.0 network,i want to block the communication for securing the local networks more.I know iptable rule is enough for this purpose .But i cant find the apt rule for this purpose.
I just installed Ubuntu 9.10 and its great. However when I connect to the internet at home it shows that the connection has been established but I still cant connect to the internet. My flatmates are all able to connect. However, I am able to connect from work both wirelessly and through an ethernet cable.
I just set up a linux server which is acting as an internet gateway. For specific reasons, clients first make a vpn connection trough the internet to the linux server.
CLIENT ---->Internet----->Linux VPN Server ------> Internet
On the linux server iptables is configured for NAT. The problem is that the internet speed becomes slower than expected. I used windows and RAAS and the speed was pretty good. The server has only 1 NIC(eth0) and an alias interface is added to eth0. The alias is eth:0 with ip address 192.168.0.253
iptables config is as follows: iptables -P INPUT ACCEPT iptables -F INPUT iptables -P OUTPUT ACCEPT iptables -F OUTPUT iptables -P FORWARD DROP iptables -F FORWARD iptables -t nat -F iptables -A FORWARD -d 192.168.0.0/24 -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -s 192.168.0.0/24 -j ACCEPT iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to MY_VALID_IP
Previously had 2 Ubuntu computers setup Computer A (192.168.1.101) <=> Computer B (192.168.1.100) -> Internet Computer B was the gateway, and it is dual boot, one drive Ubuntu, one drive XP. I'm using XP as the gateway now, but Computer A is extremely slow, virtually nothing getting through.
Have checked sysytem logs, verified /etc/hosts file, and all the network side of things. Can ping either IP adddresses from either computer. On the XP side, have modified hosts and lmhosts, and the XP computer has very fast internet connection.
Did have Commodo firewall running on the XP, disabled that, and checked that no Windooze firewall was running. Have restarted the network on both computers a number of times. Can't figure out what the problem is. It's obviously on the XP side, as when I booted to Ubuntu (previously) on Computer B, the gateway worked just fine. Have checked the whole tcp/ip side of things on XP; seems to be okay.
I have installed fedora 11 64 bit on a new computer. I have no problems accessing the computers on my local network, but can not get past the gateway. The gateway is running windows XP with IP address 192.168.0.1 and is named "internet". When I boot the new computer in windows, there is no problem. Here is the output of some commands I saw in other posts with similar problems:
have a netopia 3347-02 Wireless ADSL Gateway that i got from at&t. i am no longer with at&t.i switch over to cox. I have the cox modem. i also have cable on the modem. when i connect a ethnet cable from cox's modem to my laptop my internet works. but i want to use the netopia 3347-02 Wireless ADSL Gateway that i got from at&t cause of the wifi. when i login & connect to the netopia 3347-02 Wireless ADSL Gaut it in bridge mode.internet works fine, but im not able to use wifi, im also not able to login into the admin page. i have to do a factory reset on it so i can log back in. So how can i make it work with cox modem?
I have 1 root-server with 2 NICs, both having their own internet IP addresses:
Code: eth0 = 8x.x.x.183 eth2 = 8x.x.x.205 We only have one gateway on that network: Code: gateway = 8x.x.x.1 We want to use eth2 for postfix + http, and eth0 for all the other stuff.
How can this be setup ? With route / ip route / iptables ?
Since I have a new internetaccount, 2 days ago, I have a problem on my server [Fedora Core 8]. I use it as a router.
eth0 is for the internet. eth1 is for my LAN.
But since my new internetaccount my server uses eth1 for the internet. This is a line from my syslog:
Code: NetworkManager: <info> Policy set 'System eth1' (eth1) as default for routing and DNS. I killed the NetworkManager daemon and now it works but this must not be the way to do it? Where do I tell my server that I use eth0 for routing and DNS?
I have a fedora 14 box which has a static IP and I can not contact the internet or even my gateway router.I know it has to do with my kernal IP routing table but I can not find the command to do what I need...Here is my kernal IP routing table
Am working as net admin in an institute.. I have Leased Line connection with Public IP? I configured Red Hat Enterprise Linux 5 as Internet Server. I successfully Configured squid and as well as Internet Gateway in my Internet Server.. All are working fine in my client PC environment.. I have one Series Problem in my all Windows Client Pc.. When I try to surf Microsoft and Any Anti-virus site through squid(port no 3128) is fine?but when I try to surf the same Microsoft or any anti virus site through Linux Internet gateway then I got ?Page can not be displayed error?? but all other sites are surfed well through Gateway.. I felt some spy ware is attacked in my All windows Client PC.. So only it ll block Microsoft or any anti virus site through Linux Internet gateway(default port 80
I use Ubuntu 10.10 x64 at home. My company uses Microsoft RDS (remote desktop services, aka terminal services) at work and I'd like to know if it's possible to connect from home.
On a Windows machine, there is an extra tab in the remote desktop client that allows you to specify a secure gateway to connect through - this means you don't need to establish a VPN connection beforehand, it simply just connects straight away via an SSL tunnel.
I've looked at quite a few Ubuntu RDP clients and none of them seem to have this option.
Does anyone know if it can be done? Either that or I'd like to get my hands on a copy of the 64 bit linux Cisco VPN client that works. I've found a few copies around the internet but they always fail to install.
I am wanting a computer with an external dialup modem (ppp0 modem through a com port /dev/ttys1) to act as a gateway to the internet, forwarding internet traffic through ethernet (eth0 is set to static 192.168.2.2) to a router (the router is 192.168.2.1) where it will be broadcast to other wireless computers like my laptop (192.168.2.3). I've had this setup until recently when the gateway computer (the one with the modem) died. Now I'm replacing that machine with another box and an install of Ubuntu 10.10 but so far things aren't working for me.
Success so far:I have dialup access working on the new box. Took me a while to work out the configuration for getting dialup working, though the IP address is Dynamic (or it won't stay connected), "Check carrier line" is off, and "Ignore Terminal Strings (stupid mode)" is on in order to successfully connect and stay connected to my ISP. I also had to make my normal (non-root) user "lancer" a member of the "pid" group (the reboot) in order to use gnome-ppp as non-root. The laptop (192.168.2.3) is successfully connecting to the router (192.168.2.1) as I can see the router configuration page when I type http://192.168.2.1 into the laptop's web browser. This setup is unchanged from how I had it before when this was previously working and I don't want to change how the router itself is set up. What I want is to know what to fix in the new box in order to get it connected to the router (through ethernet) and bridging the internet through.
My problem is that whenever I plug in the eth0 from the gateway (192.168.2.2) to the router (192.168.2.1), Ubuntu's automatic plug-me-in network detection kicks in and I find my dialup no longer working through some kind of IP conflict (at least that's what I think it is). Maybe I don't have the "gateway" correctly assigned? (in the gateway computer for the ethernet connection, I had it pointing to itself as I don't know what to put for "gateway IP" as that is automatic So, just to check my connection, here I am pinging google (from the gateway computer which has the dialup modem) once a dialup connection has been made.
Code: lancer@lancer-desktop:~$ ping www.google.com PING www.l.google.com (74.125.237.17) 56(84) bytes of data. 64 bytes from 74.125.237.17: icmp_req=1 ttl=55 time=179 ms 64 bytes from 74.125.237.17: icmp_req=2 ttl=55 time=176 ms 64 bytes from 74.125.237.17: icmp_req=3 ttl=55 time=158 ms
[Code]...
What do I need to do in order to make Ubuntu of my gateway computer stay connected to my dialup but also simultaneously share an ethernet LAN to my wireless router and feed traffic to the other computers from there? I have googled this but some of the most promising instruction (e.g. http://www.ubuntugeek.com/sharing-in...in-ubuntu.html) call for packages like dnsmasq or ipmasq which seem defunct now in Ubuntu 10.10. Other pages seem to suggest dual-networks "can't be done" in Ubuntu [URL].. (what!?! I had it before my other gateway died)
I have 17 system (sys1,sys2,sys3.....sys17) in my office, and i am willing to setup a dedicated system to act as a firewall for that i have selected sys1 with two NIC(eth0 for local network and eth1 for internet) and i have configured to access internet in my office for that i have opened a wellknown port 80.but my clients are not accessing the internet..
and please check my sample IP configuration !!!
interface : eth1 (ISP IP)just for example IP :192.168.0.2 gateway:192.168.0.1 dns:202.56.230.5 dns:202.56.230.6
Interface : eth0 (my local lan )
192.168.1.1 255.255.255.0
IP address of xp clients ranges form 192.168.1.2 to 192.168.1.16 with default 255.255.255.0
my question is that which gateway address and dns i have to give to my clients for accessing internet ?...
I'm running Ubuntu 9.10 Live CD and I can't connect to the internet. I click on System --> Preferences --> Network connections and under the tab DSL I click Add. After i fill the information I click to connect to the new connection and after a while it shows me a baloon which says "Wired network: Disconnected - you are now offline".
I would like to connect a PC (it has no white IP) through Internet. It's possible to create tunnel with SSH, but I need more easy way. May be there is some service exists (like TeamViewer), so people can just run simple command on that PC?
I have a problem which is connecting automatically to my spwireless. On my windows, my schools provide me the disc which contains several .cer files and a automated batch files to copy the .cer files to the root folders. I can choose to use the other network but in using that, i have to manually connect compared to using the spwireless. Anyway, my problem is that, how do i add the .cer files and to where so when i connect to the network it will look there for the cert. Because when i manually connect, only one cer can be chosen.
I have a problem connecting to the internet using Ubuntu 9.10 . But the same works fine in Ubuntu 9.04.. First I thought it was my hardware problem and asked my friend(also was using ubuntu 9.04) to try ubuntu 9.10 but he too failed to connect....
I have an wired ADSL Modem given by my Service Provider. When I switch on my modem the router gets connected but it cannot connect me to internet...
i have a Levano S10e intel atom preccessor and the net-book is not connecting wirelessly to the network. i have tried at two locations and even plugged in a exterlal wifi adapter. it wouldnt connect then either, the only way to get connected is to use a cat5 cable. here is the ifconfig output with no cat5 inserted and it not connecting to the internet.:
I need to reinstall my GUI but all I can access currently is a terminal, I have the encryption key and SSID but have found all the how to's I've read really confusing since following certain steps on them give me error messages, I'm connecting wirelessly to wlan0.
I just want to use Internet Connection Sharing (ICS) to connect to the internet. I have done a massive amount of troubleshooting, but some of it seems to contradict itself, and the only two things that I know for sure are that it used to work, and that my Ethernet cable is not the problem. When I use Terminal utilities like ifup and dhclient it seems that it can not determine IP information, but when I try to put it in manually, the "Apply" button grays out right after I finish typing it in. When I try to connect normally, in KDE or GNOME, the icon acts like it's connecting, then instead of having the connected icon, I receive a notification that "the network has been disconnected", and it goes back to the disconnected icon.
Oh, and by the way, I know that I could probably find a workaround, but I have limited resources, and this used to work. The Linux is a Dell desktop with Fedora 12 and the Windows is a Windows 7 HP laptop.EDIT: I hope that I didn't mess something up, but I accidentally used system-network-config to try putting in the IP address there, and ended up changing it back to the original settings, but the computer is now calling it Auto Ethernet in the taskbar icon, although sudo iwconfig in the terminal still calls it eth0.
I'm using ADSL modem (not router) and I can't connect to internet. The network manager and the pppoe-setup command doesn't work. So I'm asking some of the experienced users of fedora 12 to help me setup my connection.
Details: ADSL modem with pppoe connection (working fine on win xp)
I am trying to connect to Internet using Wavecome modem with Airtel GPRS connection. I am able to successfully connect and browse the Internet using wvdial. But if I use pppd, I am getting the error message as "LCP Terminated by peer".
The exact error I am getting is pasted below. [root@pscu1320 ppp]# pppd call gprs-wavecom GPRS modem init: press <ctrl>-C to disconnect Wakeup Modem
I had an ubuntu 10.4 box, I used it mainly for programming, virtualization & other stuff. I've installed this box about 1 month ago, working on it everyday. About 2 days ago problem appeared when I just opened up firefox for cheking my E-Mail. I typed : [URL]. & nothing appeared & I just seen the famous firefox page when a networking problem is around . I just wondered and checked the connectivity & the wire itself, but find no problem around them, while playing with firefox I just had a turned on virtualBox machine (Windows XP service Pack 3), I just checked the internet within vm & working fine, I checked my e-mail from vm (windows xp), I thought restarting the system might help to solve the problem but damn, problem didn't solved & still arounds Well, I searched through websites dedicated to linux networking & forums that might help, I did anything that faced to my brain , follow another people recipes but problem did't solved for about 3 days ! Playing with primary & alternative dns didn't help, I did my best about solving the problem, disabling ipv6 from both linux networking settings & firefox itself didn't help also . After that, I thought reinstalling the linux might help to solving the problem, but install a new version of ubuntu, 10.10, I tried it, install it but the holyshit problem still arounds ! I think this might be a bug on ubuntu distro, I tried Mint 10 & the same problem, reinstalling x64 version of fedora core & the same problem .It's interesting that the same settings for TD-8101G TP-Link working fine for my Windows XP, Windows 7 x64 & the problem is arounds just for my linux distros .As I said I checked the internet for the problem & found nothing workable for me. I thought it's better to describe the problem & maybe another people faced with that problem .
I have a CentOS server that I can connect to over my local network. The computer I'm currently on is on that same network and can access the internet. My server can not connect to the internet. The network card is obviously connecting to the network since I can access the server locally with SSH or HTTP. While in the terminal for the server, I type wget google.com and the server can not find the specified host, so this leaves me to believe it can not access the internet.
I have an AWL6075 Golden N Wireless Mini USB Adapter from Airlink, and I'm running Ubuntu 9.10. (Kernel 2.6.31-20-generic) I've learned that in order to get this to work, I needed to download this firmware update: http://launchpadlibrarian.net/373876...8192sfw.bin.gz and copy it into /lib/firmware.I have also needed to download and install the drivers at http://www.filestube.com/f76673d157e2ab6203ea/go.htmlI've even Edited my connection to make it available to all users.This is great, and it gets my internet running. Unfortunately, I seem to have to make the module, and insmod the module 8712u.ko everytime I boot up. I know I had it set in 9.04 to be able to do this on boot up, but in 9.04 I didn't have to re-make it everytime.
I had installed Ubuntu 10.04 yesterday. When I see the network tab, it shows it is connected to the web via eth0. I could download all the packages for updates.But when I try to connect to internet via Firefox, or by evolution or other software,I am unable to connect.The configuration of the ethernet card is proper as I checked that via terminal window.It is a peculiar problem, where I can download update pakages but unable to connect via browser or email client.when I ping to ubuntu.com is shows it is healthy and successful.I have a Acer dual core laptop, and connect to internet via wired lan .