LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2001, 04:52 AM   #1
Nezar
Member
 
Registered: May 2001
Posts: 63

Rep: Reputation: 15
Arrow Restric the IP's use


Can I use linux to restric the use of some free IP's in a subnet (i,e, lock them).

Knowing that. I'm using static IP allocation (I don't use DHCP).

Nezar...
 
Old 06-24-2001, 07:16 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
When you say restrict, are you talking about when using linux as a router/firewall? Or just stop other machines from being able to assign themselves the IP address?

Jamie...
 
Old 06-24-2001, 09:18 AM   #3
Nezar
Member
 
Registered: May 2001
Posts: 63

Original Poster
Rep: Reputation: 15
Actually , I'm talking about when using Linux as router!
 
Old 06-25-2001, 12:38 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ipchains..

I think this is what you mean

ipchains -P forward DENY
ipchains -A forward -s 192.168.0.2/32 -d 0/0 -j MASQ

ok this guys packets are forwarded no one elses.

or like this

ipchains -A forward -s 192.168.0.17/32 -j REJECT

check out the ipchains howto or iptables

Last edited by DavidPhillips; 06-25-2001 at 12:42 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 01:23 PM
fake ip's g452 Linux - Networking 3 06-04-2004 02:26 PM
ip's/country juanb Linux - Security 3 01-28-2004 10:32 PM
More ip's ThePlague Linux - Networking 1 02-02-2002 05:19 PM
ip's Syphon Linux - Networking 1 01-18-2002 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration