Networking :: What Are Short Range Link And Long Range Links In Routing
Jun 23, 2009get me understand the short range and the long range links from routing (and routing protocols') point of view.
View 6 Repliesget me understand the short range and the long range links from routing (and routing protocols') point of view.
View 6 RepliesWith most Linux distributions, I can only get a short range to connect my laptop to the wifi. However, when using Ubuntu 10.10, this issue seemed to cure itself and I was able to use wifi in my room. I recently installed Ubuntu 11.04, but suddenly my wifi issues have come back again - I can only connect if I am near my router.
I am using an Intel Wifi 5100. I should also note I can get a wifi connection if I boot into Windows 7.
I have a Gateway ML6721 laptop that uses a Realtek RTL8187B for wireless comms. I am very new to Ubuntu and Linux. I am trying out linux using a usb stick, 16Gb with a 4Gb persistence. If I stay in the same room as the router there is no problem. If I walk too far, I get disconnected. Works fine in windows throughout the whole house. Is there a setting I can change or do I need to use a different driver?
View 3 Replies View RelatedI want to plot a set of data in only one plot.The problem is that some points of the data should be better plotted in a linear scale (lets say 0 to 100,000) but there are other data points that, exceding the value 100,000, would be better plotted in a logarithmic scale, as they goes in the range 100,000 to 500,000,000. Let's say the data is:
Code:
X Y
0 100
10000 80
20000 75
[code]....
Is there a way to plot all these points in the same plot in only one X-axis showing two different ranges in that axis: linear: 0-100,000 logarithmic: 100,000 - 1,000,000,000?The axis would be read, for example, as:
Code:
|-----|-----|-----|-----|-----|-----|-----|-----|-----|
0 20k 40k 60k 80k 100k 1M 10M 100M 1G
(The abbreviations k-M-G are not the important point. Just shown for clarity)
I've been working with my OpenVPN server for a while, and I have a rather interesting problem. I need to redirect all client traffic through the tunnel except for a couple IP's that need to be resolvable locally. The way I'm doing this is pushing these routes from the server:
Server 'PUSH' directives
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
I'm seeing that translating into these Windows routes:
Windows routes occurring
Wed Aug 31 15:14:35 2011 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,dhcp-option DNS 8.8.4.4,route 10.8.0.1,topology net30,ping 5,ping-restart 30,ifconfig 10.8.0.6 10.8.0.5'
Wed Aug 31 15:14:35 2011 ROUTE default_gateway=192.168.1.254
Wed Aug 31 15:14:40 2011 C:WINDOWSsystem32
oute.exe ADD 199.[*.*.*] MASK 255.255.255.255 192.168.1.254
Wed Aug 31 15:14:40 2011 C:WINDOWSsystem32
oute.exe ADD 0.0.0.0 MASK 128.0.0.0 10.8.0.5
Wed Aug 31 15:14:40 2011 C:WINDOWSsystem32
oute.exe ADD 128.0.0.0 MASK 128.0.0.0 10.8.0.5
Wed Aug 31 15:14:40 2011 C:WINDOWSsystem32
oute.exe ADD 10.8.0.1 MASK 255.255.255.255 10.8.0.5
I've hidden my server's IP beginning with 199 for security purposes.What I've gathered.I'm assuming that 0.0.0.0 is a kind of code for "everything," so I'm not sure how I could get this to work, but the general idea is that I need a specific IP range (172.16.*) to be resolvable on the LOCAL NETWORK (of the client) meaning it does not go through the VPN tunnel and the client can connect to 172.16.* locally.Is this possible? Routes can be executed through the command line, server "push" or client config options. Any way to get this to work while still routing other traffic through would do, really.
Additional Info: I have the server running on Debian 64-bit and the client running on Windows 7 (although Vista needs to work as well).Client/server configs can be provided if needed.
I want to build a bash script, which can ping a range IP adresses which will be filled in by the admin. If there is no IP-adress filled in, then the script must ping the subnet where the system is logged on. So if my ip is 192.168.1.6, then the script must ping from 192.168.1.1 till 192.168.1.255 Or else, if there is given a beginning and ending ip it must ping that!
The first part of the bash script is to ping a given range (see below). But there is one problem, how can I tell the script to ping from $begin till $end, [..] is of course wrong! But what must be filled in there???
echo "Enter beginning IP-adres:"
read begin
echo "Enter ending IP-adres:"
read end
ping -c 1 $begin [..] $end
The second part is to find my own ip and ping the whole range.. How to do that? I only can find my own IP, but I cant ping the whole range,, how to do that?
#!/bin/bash
ifconfig | grep 'inet addr:' | grep -v '127.0.0.1' |
cut -d: -f2 | awk '{ print $1 }'
I have Bolutek BTD-6610 Ultra long range dongle. It supports only 7 simultaneously connections. I'm using Fedora core 14. Can you recommend me another ultra long range dongle with more than 7 simultaneously connections.
I' mean is there dongle which support 50 or 100 simultaneously connections and supports Linux?
I am running Debian Squeeze with the following basic services running:DNS
DHCP
Samba
Squid
The server is setup with three NICs: eth0 (WAN1), eth1 (WAN2), and eth2 (LAN).The server addresses clients with an IP range of 10.0.30.1 - 10.0.30.254. Some clients will be set with reservations so they fall into the 10.0.40.1 - 254 range.
What I want to do is have any outgoing external traffic coming from the first range (10.0.30.0) to use WAN link 1, and any outgoing external traffic coming from the second range (10.0.40.0) to use WAN link 2.
I have sort of got something working. I have created a bare minimum transparent squid3 setup on port 3128, and set the iptables as follows:
Code:
iptables -t nat -A PREROUTING -i eth2 -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.0.0.1:3128
iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
iptables -t nat -A PREROUTING -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
I can get internet access, however obviously it only goes through one WAN link. It also seems slower than it should be. I experimented with tcp_outgoing_address, but seemed to not be my friend.
I am going to configure squid in my linux box.I have different kinds of ranges in my office.The default is as under
Code:
acl our_networks src 192.168.1.0/24 192.168.2.0/24
http_access allow our_networks
can I add my own ranges as
Code:
acl our_networks src 10.1.60.0/24 10.1.70.0/24 10.0.80.0/24 10.1.90.0/24 10.1.100.0./24
http_access allow our_networks we have divided according to floors ,like 1st floor ip range is 10.1.60.0 2nd floor 10.1.70.0 ,third 10.1.80.0 and so on. All IP ping each others successfully.
I do not currently fully understand relationship between binary numbers and ip addresses and subnet addresses; nor am I asking for an explanation here at LQ, when there are plenty at wikipedia and other places...
Even after reading the wikipedia article on it, I still don't grasp it completely, so I was hoping that someone who grasps it in its entirety could answer a simple question.
How can I express the range of ip addresses from 172.22.22.200 - 172.22.22.230 ?
I was trying to make a rule for iptables that only did nat on that specific range of ips, and when i tried used the "-s" flag followed by 172.22.22.200/11 it always changes to 172.0.0.0/11 in the actual rule that is created and displayed by iptables -t nat -L.
I already have many hosts defined on my network, and rather than going through each one and changing its ipaddress to 172.0.0.#, I was hoping to learn a way to represent them in the iptables rule.
Hopefully Ody has found a result in the 5 years since he posted this question, for anyone else looking for an answer
NMAP scan for a range of individual IP's can be done using the '-' for example:
(this is accurate as of 2010, actual results have been altered to match OP's address range)
$nmap -sP 192.168.0.1-14
Starting Nmap 5.00 ( http://nmap.org ) at 2010-12-22 09:55
Interesting ports on 192.168.0.1:
Not shown: 999 closed ports
PORT STATE SERVICE
80/tcp open http
Interesting ports on 192.168.0.2
Not shown: 999 closed ports
PORT STATE SERVICE
80/tcp open http
Interesting ports on 192.168.0.3:
Not shown: 999 closed ports
PORT STATE SERVICE
80/tcp open http
Nmap done: 14 IP addresses (3 hosts up) scanned in 8.08 seconds
We have a DSL , how can we calculate the available bandwidth so that we can shape the packet, We can assume the bandwidth to be 100mbps on the ethernet interface
However, in DSL devices, the train rate(Bandwidth rate ) is varies according to different situation. How can i get the available bandwidth rate(from varies)?. Any method is there for getting the available bandwidth value..
I am trying to remember how to determine the number of subnets there are in a given subnet range. The example range is shown below:Quote:217.133.64.0-217.133.127.255nce I did the binary conversions of the two addresses shown, the address that I got when comparing the two was the following:Quote:217.133.192.0he number of subnets I got from his was 63.Correct me if I am wrong, but is the number of subnets the difference between the number, in this case, the third octet and 255? If there is another, or correct, way of determining the number subnets what would it entail?
View 8 Replies View RelatedCurrently I have the following configuration on pptpd.conf which allows 250 connections :localip 192.168.10.1remoteip 192.168.10.2-254connections 250I would like to increase the connections to 500 , so I need more remoteip , what is the correct format for defining more remoteip
View 2 Replies View RelatedI want to connect to my office intranet without utilizing internet, there is aprox 210 ft distance and i cannot locate my N router's signal even when i installed the router outside of the building, the server is redhat enterprise, and want to share filehosting and internet with the office to cut down costs.
Office building with intranet>--------<210ft>----------my apartment
I am willing to invest some money in this setup but undecided how to extend the network, someone told me i can use a router in repeater mode but i cannot find any such router, my employer has allowed me to use the office network (so nice of him) but at my own setup.
Is there a way to turn a laptop, or any PC with a wifi network card, into a wifi range extender? Suppose I have the usual wifi router, but unfortunately the signal doesn't cover the whole house; a solution is a range extender, but I thought: if I have a laptop, placed in the same room where I would put that range extender, can't I use THAT as a range extender too? After all, range extender at the very heart are "stripped-down" routers, which in turn are stripped down PCs equipped with a stripped-down version of the Linux Kernel...
View 4 Replies View RelatedI use F12 and I need help with correct syntax to specify range of IP address in hosts.allow or hosts.deny or in /etc/exports file eg. 192.168.1.100 to 192.168.1.255.
View 13 Replies View RelatedI need to create two Access Control Lists for my networks using SQUID proxy. The ip address range from 165.165.42.10 to 165.165.42.50 for one network and from 165.165.42.60 to 165.165.42.90 for another network. How can I make it?
View 2 Replies View RelatedI have an ADSL router, wireless, at my home. However, the wifi range is extremely limited. I want to be able to have the wifi all over the house, or atleast about 20 feet away from till where it reaches till now (father and grandfather under the same roof can be a problem.)
So how do i get to it? can I get another router and have it connect to the present router? The present one is one with ethernet and wifi outputs, limited to 4 connections i think, and i have it configured to dial to the net automatically, i.e.: no dsl dial up from pc reqd.
I have a problem with network manager. I use Ubuntu 10.04 on a Dell Latitude D530. I used to have the same problem with Ubuntu 9.10 before I upgraded. I typically connect to two wireless networks: HOME and WORK. Both networks are set to automatic connection mode. I am at work, I connect to the network WORK. At the end of the day, I just close the lid and go home. At home, I open the lid and have the following problem: network manager still displays the network WORK whereas it is clearly out-of-range and it automatically tries to connect to it. It does so until network manager asks if the password is correct.
If I want to connect to HOME, I have to tell network manager to do so. Then, I receive a notification that I am disconnected to WORK. Next morning, I go to work, and I have the same problem, network manager tries to automatically connect to HOME. What I would expect from network manager: when I am at home, NM automatically connects to HOME and does not display WORK, when I am at work, NM automatically connects to WORK and does not display HOME.
Working on ubuntu 10.04 on an IBM Thinkpad X61 laptop with an Alpha 2W wireless usb card on wlan0. Once in a while the wireless network disconnects and can't connect to any network in range (open, wep, wpa, wpa2). It looks like it's trying to connect but then asks for a password (even if allready given one) and if open just not finishing connecting and trying to connect to another network. Happends the same with wicd. Network card is working ok. Also with other computers. Drivers are installed correctly and power consumption management is off.
View 1 Replies View RelatedI would like to set a double range of IP address with my DHCP3-server. Now, I have eth0 (which is my only network card) with this IP address : 172.16.93.1 and I have created a second interface eth0:1 with this address: 192.168.3.1. The goal is to give an IP address 172.16.93.X to phones (with option 66) and the IP address 192.168.3.X to the computers.
This is my DHCPD.conf :
ddns-update-style none;
option domain-name "mycompany.com";
option domain-name-servers 172.16.93.1;
default-lease-time 3600;
max-lease-time 2347200;
authoritative;
log-facility local7;
option ip-forwarding off;
default-lease-time 20;
max-lease-time 20; .....
Right now my DHCP server work fine, (I means, no error at the startup ) but the server give always the same kind of IP address, whatever if it's a phone or a computer. I notice something "wired", if I put the :
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.100 192.168.3.199;
option routers 192.168.3.254; }
(Which is first in the dhcpd.conf) after the "subnet 172.16.93.0 netmask 255.255.255.0", the server will give IP address 172.16.93.X at all the clients. Is it possible to give more than one IP range with one network card at the same time? And how set the option 66 to only give IP address (172.16.93.X) to the phones?
There seems to be a lot written about virtual networking but I am not sure what approach to take in my situation. My local subnet has a public block of 128 addresses. I have a virtual host running on my machine. My machine has a static address and I'd need to assign one to the guest. I have edited the guest's interface file and assigned a public address to it's eth0. However the guest cannot ping out and I can't ping in.
By default the virtual machine manager creates a virtual network (virbr0) and assigned a private address range to it. I have tried to create a new virtual network using a subnet of my public range (/31) but the manager says the range must to a minimum of 16 addresses (/4). It doesn't look possible to achieve my aims using the virtual machine manager.
In the past I have used the procedure laid out here:[URL].. which is to manually create a bridge. I am not sure that is relevant for my 9.10. I think I would have to disable the network manager if I were to do that and I am not sure how to do that.
I am still new to ubuntu and I use firestarter as my firewall tool and I was told that its just ufw in a gui. Well anyways I noticed a connection to 174.129.241.144 using https and python, I didn't have any scripts running and my browser was closed, I read the man files for ufw and it said to do something like deny from 174.129.0.0/12 and I want to block all incoming and outgoing connections to this IP range and I was wondering how to do that, I heard of iptables that it would be able to do this but I dont know anything about it. What I should learn so I can handle these kinds of situation in the future and how I can block this ip subnet or also what does the /8, /12, and /16 stand for?
View 7 Replies View RelatedAfter spending several months coming up with ideas (and ultimately failing), I have found the easiest and simplest way to connect your Ubuntu desktop (or laptop w/o a wireless adapter/card) to the Internet using only a Linksys Wireless Range Expander and an Ethernet cord.
YOU WILL NEED:
Linksys Wireless Range Expander (WRE54G)
Ethernet cable
Linksys wireless router (that is providing your home/office with wireless Internet) The WRE54G can be purchased online through various websites, including eBay. They run anywhere between $10 and $40, but it's going to be cheaper than a USB Wireless Adapter (and no software needs to be installed, making it universal for most Linux distros).
[Code]...
This one has been driving me nuts for some days now:My Gentoo box which is acting as an internet gateway has two point-to-point interfaces, ppp0 (PPPoE to my ISP) and ppp1 (PPTP VPN link to IPREDator). Packets from my local network are just routed through ppp0 and now the fun part starts: I want to MARK (netfilter...) all packets originating from one specific user on that box in order to use another routing table that will contain a default route via the ppp1 interface.Marking seems to work fine as does the second routing table. But quite mysteriously (at least for me), the packets sent out on ppp1 contain the wrong source IP address, namely the address associated with ppp0.So here is what ifconfig and friends tell me:Network interfaces:
Code:
# ifconfig ppp0
ppp0 Protokoll:Punkt-zu-Punkt Verbindung
[code]...
I am working on implementing a protocol on NS2.34 .I really need help to solve this problem . Actually , I don't now whether the problem is generated by the tcl code or the c++ code when I run the simulation, I get this result :
Code:
num_nodes is set 64
INITIALIZE THE LIST xListHead
34
45
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
code....
I am setting up a gateway Ubuntu box and trying to do this the easiest way possible. Using Network Manager in LL 10.04 I have eth1 (usb) accessing the net and eth0 (wired) set up and working. eth1 has a static IP address of 192.168.0.2 and the USB box has 192.168.1.1. This works and I have no issues with eth0. In order to allow eth1 to "share" the connection I have gone toIPv4 and change the method to "Shared to this computer".
Network-Manager automatically starts a dhcp server and assigns ip's from the 10.x.x.x class of IP's. I want to change the assignable ip range to come from 192.168.1.x. I have figured out that it is set in the dnsmasq-base package as uninstalling this and using:
Quote: >sudo service network-manager restart shuts down the eth0 completely - no IP can be assigned! Reinstall dnsmasq-base and it assigns it back with a 10.42.43.1 IP. (and all other PC's on the network are set to the 10.42.43.x range. Where is the dhcp range set?
I installed a new instance of Ubuntu server (10.04) and set the hostname equal to "ubuntu-10.04-server-i386". However when I type the command hostname I get that the hostname is equal to "ubuntu-10". I then realised that the command hostname --long gives me the full name (as defined when doing the linux installation) while hostname --short gives me the name as displayed in terminal. My question is; what is the difference between these two? Are both valid?
View 4 Replies View Relatedmy long awaited WUA-1340 D-Link wifi adapter has arrived, and...unfortunately won't work it didn't work "out of the box", so I tried the following (found on the aircrack website)Here's what I did....1. Edit /etc/modprobe.d/blacklist and add blacklist rt73usb as a new line.2. RebootThen,
Code:
wget http://homepages.tu-darmstadt.de/~p_larbig/wlan/rt73-k2wrlz-3.0.3.tar.bz2
tar -xjf rt73-k2wrlz-3.0.3.tar.bz2
[code]....