LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-12-2012, 05:30 AM   #1
varunb
Member
 
Registered: Mar 2011
Location: Bangalore, INDIA
Distribution: opensuse, fedora
Posts: 135
Blog Entries: 1

Rep: Reputation: 1
Enabling DHCP on second LAN interface when using shorewall.


Hi,

I have installed and configured shorewall. I have two LAN interfaces, where eth1 is local network and eth0 is external network.

Code:
eth1      Link encap:Ethernet  HWaddr 00:80:48:26:40:6B  
          inet addr:192.168.15.254  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::280:48ff:fe26:406b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:35123 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70505 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3313361 (3.1 Mb)  TX bytes:83711330 (79.8 Mb)
          Interrupt:16 Base address:0xe800 

eth4      Link encap:Ethernet  HWaddr 00:05:5D:4B:16:A3  
          inet addr:10.10.10.91  Bcast:10.10.10.255  Mask:255.255.255.0
          inet6 addr: fe80::205:5dff:fe4b:16a3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:88243 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41005 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:87549214 (83.4 Mb)  TX bytes:4400142 (4.1 Mb)
          Interrupt:18 Base address:0xc400
All i need to know is how can i enable dhcp to eth1 interface.
IP forwarding is enabled.

if i connect eth1 interface to my laptop through cable, then i have to assign static IP in LAPTOP(i.e 192.168.15.251 and gw-192.168.15.254), then only i will be able to connect to internet.

All i need is when connected eth1 to laptop, i should get a auto IP in my laptop and get connected.

and can any one tell me is IPTABLES related to shorewall???

Last edited by varunb; 04-12-2012 at 05:33 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
shorewall rules interface andy82 Linux - Networking 1 04-14-2012 12:51 PM
Enabling multicasting in shorewall/iptables sampappachan_nyc Linux - Networking 1 04-23-2010 03:44 AM
ATT Uverse DHCP Not Assigning to Red Interface Interface on Smoothwall barleykorn Linux - Networking 2 02-14-2010 05:12 PM
shorewall and dhcp-server win32sux Linux - Networking 0 02-16-2004 02:05 AM
Config shorewall-two-interface question satimis Linux - Networking 0 11-04-2003 10:32 AM

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

All times are GMT -5. The time now is 07:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration