LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-01-2012, 02:09 AM   #1
hamzar.pm
Member
 
Registered: Aug 2009
Location: India,Kerala,Cochin
Distribution: Fedora 11 ,Centos, ubuntu, Redhat
Posts: 42

Rep: Reputation: 1
Smile Ethernet configuration for proxy server


Hi all,
my squid server is running properly with two network cards, eth0 and eth1, with ips (192.168.2.1,192.168.1.102),
two devices are in different network ranges(192.168.2.0,-----92.168.1.0)
my question is====>>>> IS IT POSSIBLE TO GIVE IP IN SAME NETWORK RANGE FOR ETHERNET DEVICES IN SQUID PROXY SERVER???
FOR EXAMPLE eth0=192.168.1.1 eth1=192.168.1.102
pls help me
 
Old 02-02-2012, 04:01 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,969

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Quote:
my question is====>>>> IS IT POSSIBLE TO GIVE IP IN SAME NETWORK RANGE FOR ETHERNET DEVICES IN SQUID PROXY SERVER???
Sure it is. Run:
Code:
ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up
Check if the netmask is correct and change it accordingly.
To make the change permanent, you need to use your distro's tools to setup the IP on eth0

Regards
 
  


Reply

Tags
ethernet, ipaddress, range, squidproxy


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
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
Proxy Server Configuration pankaj_garg Linux - Server 2 10-17-2007 02:03 PM
Suse 10.2 for proxy server with one ethernet belajarsuse Linux - Networking 1 04-03-2007 02:58 AM


All times are GMT -5. The time now is 09:56 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration