FAO Chiark - having a total mare with IPCOP!!!
#3
Guest
Posts: n/a
Ok hope you got some strong coffee
3 pcs connected to a hub. Say on a range of 192.168.0.x with subnet 255.255.255.0
The hub is conencted to the green nic on the ipcop box. The green nic is set to 192.168.0.x. 255.255.255.0
The red nic is set to 10.0.0.x and goes to the adsl router which has its lan settings set to 10.0.0.x both with 255.0.0.0
Also the red nic asks you when you configure it to be either dhcp, static, pptp or oe something or other.
If you say dhcp it wants a dhcp client name. The router doesnt have a client name so cant enter one so it cant be dhcp. The instructions say it should be pptp but surely this would only be if this was dialling a modem, its the router that does that not the red nic???? I tried pptp and static etc and couldnt get any of it to work.
All pcs on the lan can ping the green nic. They can not ping the red nic or the router. I wouldnt expect them to normally due to the different network ranges but I was told that IPCOP is supposed to do the routing between green and red and that the red nic and the router must be on a totally different network range to the internal LAN. I also tried everything on the same network range and it still didn't work.
On IPCOP last night I set an external alias with the red cards ip and then the internal lan could ping it but still couldnt ping the router.
I have spent ages trying different configs and really dont understand what the settings should be on ipcop for it all to work.
If I plug the pcs directly into the router it connects fine to the internet and all can see each other. Its the ipcop box that is the issue.
The other thing is both ipcop and the router want you to put in your connection setting for the adsl connection. Which one should hold these detaisl and do the authentication/connection to the provider as surely only one should be congigured to do this?
I need a dummies guide to ipcop basically and configuration after the standard setup/install as I am not getting anywhere with their instructions from the website on installation and setup.
Please someone help cos its doing my head in massively!
3 pcs connected to a hub. Say on a range of 192.168.0.x with subnet 255.255.255.0
The hub is conencted to the green nic on the ipcop box. The green nic is set to 192.168.0.x. 255.255.255.0
The red nic is set to 10.0.0.x and goes to the adsl router which has its lan settings set to 10.0.0.x both with 255.0.0.0
Also the red nic asks you when you configure it to be either dhcp, static, pptp or oe something or other.
If you say dhcp it wants a dhcp client name. The router doesnt have a client name so cant enter one so it cant be dhcp. The instructions say it should be pptp but surely this would only be if this was dialling a modem, its the router that does that not the red nic???? I tried pptp and static etc and couldnt get any of it to work.
All pcs on the lan can ping the green nic. They can not ping the red nic or the router. I wouldnt expect them to normally due to the different network ranges but I was told that IPCOP is supposed to do the routing between green and red and that the red nic and the router must be on a totally different network range to the internal LAN. I also tried everything on the same network range and it still didn't work.
On IPCOP last night I set an external alias with the red cards ip and then the internal lan could ping it but still couldnt ping the router.
I have spent ages trying different configs and really dont understand what the settings should be on ipcop for it all to work.
If I plug the pcs directly into the router it connects fine to the internet and all can see each other. Its the ipcop box that is the issue.
The other thing is both ipcop and the router want you to put in your connection setting for the adsl connection. Which one should hold these detaisl and do the authentication/connection to the provider as surely only one should be congigured to do this?
I need a dummies guide to ipcop basically and configuration after the standard setup/install as I am not getting anywhere with their instructions from the website on installation and setup.
Please someone help cos its doing my head in massively!
#4
I'm not familiar with IPCOP in particular, but I'll give it a go:
>Also the red nic asks you when you configure it to be either dhcp, >static, pptp or oe something or other.
>If you say dhcp it wants a dhcp client name. The router doesnt >have a client name so cant enter one so it cant be dhcp.
OK set the red nic to DHCP and supply any client name you want - this is purely to make it easier for you to look at your config.
The ADSL router will act as the DHCP server and supply your RED NIC a suitable IP adress. I assume you have set up your ADSL routers DHCP pool to assign address in the RED range i.e 10.0.0.0
Also have you switched off any rulesets the ADSL router may have in it's internal firewall if it has one.
>All pcs on the lan can ping the green nic. They can not ping the >red nic or the router. I wouldnt expect them to normally due to >the different network ranges but I was told that IPCOP is supposed >to do the routing between green and red and that the red nic and >the router must be on a totally different network range to the >internal LAN. I also tried everything on the same network range >and it still didn't work.
Not sure what rules IPCOP has by default, but unless you are allowing ICMP echo requests (pings) between GREEN & RED this will be a failing.
>The other thing is both ipcop and the router want you to put in >your connection setting for the adsl connection. Which one should >hold these detaisl and do the authentication/connection to the >provider as surely only one should be congigured to do this?
You should be able to ingnore this section, it's used as IPCOP can support direct connection of USB Modems. Since you are using a ADSL router and hence presenting your remote (RED) nic as Ethernet, ignore this section. Your ADSL router is responsible for bringing up the ADSL connection and you've already set the needed information on the router.
HTH
Michael
>Also the red nic asks you when you configure it to be either dhcp, >static, pptp or oe something or other.
>If you say dhcp it wants a dhcp client name. The router doesnt >have a client name so cant enter one so it cant be dhcp.
OK set the red nic to DHCP and supply any client name you want - this is purely to make it easier for you to look at your config.
The ADSL router will act as the DHCP server and supply your RED NIC a suitable IP adress. I assume you have set up your ADSL routers DHCP pool to assign address in the RED range i.e 10.0.0.0
Also have you switched off any rulesets the ADSL router may have in it's internal firewall if it has one.
>All pcs on the lan can ping the green nic. They can not ping the >red nic or the router. I wouldnt expect them to normally due to >the different network ranges but I was told that IPCOP is supposed >to do the routing between green and red and that the red nic and >the router must be on a totally different network range to the >internal LAN. I also tried everything on the same network range >and it still didn't work.
Not sure what rules IPCOP has by default, but unless you are allowing ICMP echo requests (pings) between GREEN & RED this will be a failing.
>The other thing is both ipcop and the router want you to put in >your connection setting for the adsl connection. Which one should >hold these detaisl and do the authentication/connection to the >provider as surely only one should be congigured to do this?
You should be able to ingnore this section, it's used as IPCOP can support direct connection of USB Modems. Since you are using a ADSL router and hence presenting your remote (RED) nic as Ethernet, ignore this section. Your ADSL router is responsible for bringing up the ADSL connection and you've already set the needed information on the router.
HTH
Michael
#5
Guest
Posts: n/a
Thanks for your reply Michael.
The router has no default firewal rules and has only a very basic firewall built in, and currently its not used.
I have set the router to do the connection as I thought the same as what you said and that IPCOP has the connection settings for usb modem dialling etc but just had to ask and check because the config on it is frustrating me something chronic.
As for the dhcp on the red nic, I did try what you suggest and called it anything and set the dhcp range on the router but it didnt work. Perhaps will set the range very small and trypinging the available range to see if I get any reply.
IPCOP doesnt have any obvious settings on it for setting a rule for icmp and am assuming its allowed as I could ping the red nic. However this was only after I set an entry in the external alias section for the red nics address. I also put the router one in but it still didnt work for the router. Wasnt sure that I needed to do anything with external aliases anyway, just tried it to see if it made a difference!
I am well and truly stuck with this. My next move may well be to remove the red nic and try another nic although I very much doubt this will make any difference
My beer and ciggy consumption goes up 10 fold when working on this, I need to resolve it quick before I get signed on at AA!
The router has no default firewal rules and has only a very basic firewall built in, and currently its not used.
I have set the router to do the connection as I thought the same as what you said and that IPCOP has the connection settings for usb modem dialling etc but just had to ask and check because the config on it is frustrating me something chronic.
As for the dhcp on the red nic, I did try what you suggest and called it anything and set the dhcp range on the router but it didnt work. Perhaps will set the range very small and trypinging the available range to see if I get any reply.
IPCOP doesnt have any obvious settings on it for setting a rule for icmp and am assuming its allowed as I could ping the red nic. However this was only after I set an entry in the external alias section for the red nics address. I also put the router one in but it still didnt work for the router. Wasnt sure that I needed to do anything with external aliases anyway, just tried it to see if it made a difference!
I am well and truly stuck with this. My next move may well be to remove the red nic and try another nic although I very much doubt this will make any difference
My beer and ciggy consumption goes up 10 fold when working on this, I need to resolve it quick before I get signed on at AA!
#6
I'm just off out for a wander with me son , but I'll reply later. There's a couple of great mailing lists that can help if I can't - see http://www.ipcop.org for their addresses and archives. You want the user one.
#7
Right, I've read this thread fully through... Sorry to be useless, but Michael has suggested everything I can think of but here's a few attempts at clarification.
IPCop's red gateway will be configured as ethernet as you've already gathered. You just want it to be DHCP - call the name anything as said before. (I assume your router is providing DHCP?) Another thing to try is a static IP address of 10.0.0.2 on red, with a gateway of 10.0.0.1 (this is the IP address of your router).You will need to enter DNS if you take this approach: does your router provide DNS caching? If so, enter the router address or if not enter your ISP's DNS. (DHCP sorts all this out for you...)
ICMP ping from green->red are fully supported, so that shouldn't kick u out. Green and red do need to be on different networks; what you've got should work.
The first thing that I'd check is to find out if you can see anything on your red interface... Use an IP address to ping, or traceroute to, and see how that takes you. If you can ping an IP address on the net then you're in good stead as it's just a DNS problem...
Good luck with this. It should be straightforward.
Cheers,
Nick
(off to soothe crying son)
IPCop's red gateway will be configured as ethernet as you've already gathered. You just want it to be DHCP - call the name anything as said before. (I assume your router is providing DHCP?) Another thing to try is a static IP address of 10.0.0.2 on red, with a gateway of 10.0.0.1 (this is the IP address of your router).You will need to enter DNS if you take this approach: does your router provide DNS caching? If so, enter the router address or if not enter your ISP's DNS. (DHCP sorts all this out for you...)
ICMP ping from green->red are fully supported, so that shouldn't kick u out. Green and red do need to be on different networks; what you've got should work.
The first thing that I'd check is to find out if you can see anything on your red interface... Use an IP address to ping, or traceroute to, and see how that takes you. If you can ping an IP address on the net then you're in good stead as it's just a DNS problem...
Good luck with this. It should be straightforward.
Cheers,
Nick
(off to soothe crying son)
Trending Topics
#8
Guest
Posts: n/a
Thanks for the replies folks. Decided to start from scratch last night and reset tyhe router back to factory defaults and reinstalled ipcop, Set the router up first, and made sure all pcs were also set to dhcp. Then installed ipcop and configured for dhcp and now everything works a treat
Was trying to get far too complicated with it before, keep it simple and it works a treat Took me 20 mins last night to do, spent hours and hours over the weekend
Much bloody quicker download speeds and web access times than using internet conection sharing via adsl modem
Now I just need to learn how to set up the rule base on it and work out all the other stuff it does.
Was trying to get far too complicated with it before, keep it simple and it works a treat Took me 20 mins last night to do, spent hours and hours over the weekend
Much bloody quicker download speeds and web access times than using internet conection sharing via adsl modem
Now I just need to learn how to set up the rule base on it and work out all the other stuff it does.
Thread
Thread Starter
Forum
Replies
Last Post
Wingnuttzz
Member's Gallery
30
26 April 2022 11:15 PM
evolvedgsr
Lighting and Other Electrical
0
14 September 2015 10:31 PM